projects
/
platform
/
upstream
/
gflags.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b686469
)
fix: Include order of config.h and gflags.h in unit test
author
Andreas Schuh
<andreas.schuh.84@gmail.com>
Tue, 1 Mar 2016 21:34:24 +0000
(21:34 +0000)
committer
Andreas Schuh
<andreas.schuh.84@gmail.com>
Tue, 1 Mar 2016 21:34:24 +0000
(21:34 +0000)
test/gflags_unittest.cc
patch
|
blob
|
history
diff --git
a/test/gflags_unittest.cc
b/test/gflags_unittest.cc
index
1fd373d
..
427af8c
100755
(executable)
--- a/
test/gflags_unittest.cc
+++ b/
test/gflags_unittest.cc
@@
-32,9
+32,11
@@
// For now, this unit test does not cover all features of
// gflags.cc
-#include "config.h"
#include <gflags/gflags.h>
+#include "config.h"
+#include "util.h"
+
#include <math.h> // for isinf() and isnan()
#include <stdio.h>
#include <stdlib.h>
@@
-44,7
+46,6
@@
#endif
#include <vector>
#include <string>
-#include "util.h"
TEST_INIT
EXPECT_DEATH_INIT