diff --git a/Makefile.am b/Makefile.am index db83a96..df0f89a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -463,8 +463,8 @@ noinst_PROGRAMS = \ src/testsuite/test-history \ src/testsuite/test-holt_widget \ src/testsuite/test-key_file \ - src/testsuite/test-simulation_widget - + src/testsuite/test-simulation_widget \ + src/testsuite/test-statistics # disable : # src/testsuite/test-global_preferences_serialization # src/testsuite/test-parse_command @@ -494,6 +494,22 @@ src_testsuite_test_history_SOURCES = \ src/backend/static_thread.cc \ src/testsuite/test-history.cc + +src_testsuite_test_statistics_CPPFLAGS = \ + -I@top_srcdir@/src/backend \ + $(GLIBMM_CFLAGS) +src_testsuite_test_statistics_LDFLAGS = \ + -Wl,-rpath -Wl,"$(pkglibdir)" \ + src/backend/libbackend.la \ + $(GLIBMM_LIBS) +src_testsuite_test_statistics_SOURCES = \ + src/backend/statistics.cc \ + src/backend/concrete_process_statistics.cc \ + src/backend/concrete_simulation_statistics.cc \ + src/testsuite/test-statistics.cc + + + #src_testsuite_test_global_preferences_serialization_CPPFLAGS = \ # -I@top_srcdir@/src/backend \ # $(GLIBMM_CFLAGS)