diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-08-10 14:06:40 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-08-10 14:06:40 +0200 |
commit | b8594b8cb9118b5e95b30d4e7d87c736a0f74fbc (patch) | |
tree | a7857e2819e051ac83464ba2e30c79b2beccacf2 /server/src/pracrodaotest.cc | |
parent | 909c48a297d7f68b107fce7ad444c2165f749f42 (diff) |
Fix compilation of all tests.
Diffstat (limited to 'server/src/pracrodaotest.cc')
-rw-r--r-- | server/src/pracrodaotest.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/src/pracrodaotest.cc b/server/src/pracrodaotest.cc index 705d4b8..d8b151d 100644 --- a/server/src/pracrodaotest.cc +++ b/server/src/pracrodaotest.cc @@ -332,9 +332,9 @@ void PracroDAOTest::discard(std::string sessionid) } #ifdef TEST_PRACRODAOTEST -//deps: debug.cc log.cc configuration.cc exception.cc pracrodao.cc -//cflags: -I.. -//libs: +//deps: debug.cc log.cc configuration.cc exception.cc pracrodao.cc mutex.cc +//cflags: -I.. $(PTHREAD_CFLAGS) +//libs: $(PTHREAD_LIBS) #include <test.h> #include <time.h> @@ -387,8 +387,8 @@ commit.fields["field2"] = "world"; commit.templ = "tester"; Macro macro; -macro.attributes["version"] = "1.0"; -macro.attributes["name"] = MACRO; +macro.version = "1.0"; +macro.name = MACRO; time_t now = time(NULL); |