Commit graph

19 commits

Author SHA1 Message Date
Andreas Schuh
dc8543a473 Add test which uses gflags_declare.h.
Update issue 79
Added a test which uses gflags_declare.h as any other project would use it to avoid such avoidable build configuration mistakes.
2014-03-30 15:16:00 +01:00
Andreas Schuh
9ecc4cab3b Enable packaging of library using CPack. 2014-03-20 02:11:44 +00:00
Andreas Schuh
ddc5357419 Add link dependency on shlwapi.lib during build configuration instead of #pragma comment statement. Use this library also on MinGW. 2014-03-19 17:32:23 +00:00
Andreas Schuh
5250372ab6 Fix conditional compilation of tests using glob expressions. 2014-03-19 15:55:43 +00:00
Andreas Schuh
8566bcf1eb Replace GFLAGS_HAVE_* #defines by HAVE_* again. 2014-03-19 14:24:52 +00:00
Andreas Schuh
492ac156bc Fix DLL build on Windows and use PathMatchSpec instead of fnmatch.
Expose as few system variables as possible through public interface.
Perform STRIP_FLAGS_HELP test using CMake instead of Bash.
Change file path separator used by gflags_reporting.cc to backslash on Windwos.
2014-03-18 22:03:10 +00:00
Andreas Schuh
1e0b54c6ed Fix unit tests for Windows and CygWin. 2014-03-17 21:49:10 +00:00
Andreas Schuh
6b7be9a00a Enable test case which tests invalid negative value for uint64 flag. 2014-03-17 21:22:51 +00:00
Andreas Schuh
107681258b Fix VS linker warning regarding locally defined FLAGS_tryfromenv symbol. 2014-03-17 21:20:24 +00:00
Andreas Schuh
8d3797cd15 Fix VS security warnings using SafeGetEnv and SafeFOpen utility functions. 2014-03-17 21:19:35 +00:00
Andreas Schuh
0d9486f9a3 Pass --test_tmpdir and --srcdir to unittests. 2014-03-17 21:15:52 +00:00
Andreas Schuh
8477f3174e Fix build with Xcode 5, system checks, set LANGUAGE to CXX. 2014-03-15 14:15:33 +00:00
Andreas Schuh
f0f565fb0f Remove obsolete gflags_unittest.sh script. 2014-03-14 20:34:30 +00:00
Andreas Schuh
8a563cfca3 Migrate unit tests to CMake/CTest. Fix preprocessor directive in gflags_unittest.cc. 2014-03-14 20:32:37 +00:00
Andreas Schuh
1c9f065dd0 Add negative compilation tests. 2013-08-01 03:31:47 +01:00
Andreas Schuh
7abcbdcbbd Add gflags library which is built with NO_THREADS definition. 2013-08-01 02:04:37 +01:00
Andreas Schuh
ac3cb02be8 Add missing unittest2 and unittest3 executables. 2013-08-01 01:59:32 +01:00
Andreas Schuh
126f36b826 Enable build and execution of tests again using CTest. 2013-08-01 01:47:13 +01:00
Andreas Schuh
5ed8ae17a9 Remove build tool related files, operating system packages, and move unit tests to separate subdirectory. 2013-04-21 00:06:37 +01:00