Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
c701420c
Commit
c701420c
authored
May 15, 2015
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed tests
parent
b5eaef81
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
7 deletions
+8
-7
Makefile
tests/Makefile
+3
-3
file_log.cpp
tests/file_log.cpp
+2
-2
includes.h
tests/includes.h
+3
-2
placeholder.txt
tests/logs/placeholder.txt
+0
-0
No files found.
tests/Makefile
View file @
c701420c
CXX
?=
g++
CXXFLAGS
=
-D_WIN32_WINNT
=
0x600
-march
=
native
-Wall
-Wextra
-Wshadow
-pedantic
-std
=
c++11
-pthread
-Wl
,--no-as-needed
-I
../include
LDPFALGS
=
-pthread
CXXFLAGS
=
-D_WIN32_WINNT
=
0x600
-march
=
native
-Wall
-pedantic
-std
=
c++11
-pthread
-Wl
,--no-as-needed
-O
LDPFALGS
=
-pthread
-flto
CPP_FILES
:=
$
(
wildcard
*
.cpp
)
OBJ_FILES
:=
$
(
addprefix ./,
$
(
notdir
$
(
CPP_FILES:.cpp
=
.o
)))
...
...
@@ -15,7 +15,7 @@ tests: $(OBJ_FILES)
clean
:
rm
-f
tests
*
.o logs/
*
rebuild
:
clean
all
rebuild
:
clean
tests
tests/file_log.cpp
View file @
c701420c
...
...
@@ -37,9 +37,9 @@ static void delete_logs()
{
spdlog
::
drop_all
();
#ifdef _WIN32
system
(
"del /F /Q logs
\\
*"
);
auto
rv
=
system
(
"del /F /Q logs
\\
*"
);
#else
system
(
"rm -f logs/*"
);
auto
rv
=
system
(
"rm -f logs/*"
);
#endif
}
...
...
tests/includes.h
View file @
c701420c
...
...
@@ -5,6 +5,8 @@
#include <string>
#include <ostream>
#include <chrono>
#include <exception>
#include "catch.hpp"
#include "../include/spdlog/spdlog.h"
#include "../include/spdlog/sinks/null_sink.h"
\ No newline at end of file
#include "../include/spdlog/sinks/null_sink.h"
tests/logs/placeholder.txt
deleted
100644 → 0
View file @
b5eaef81
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment