Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move GRAS tests to TESH
[simgrid.git] / testsuite / Makefile.am
1 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/src/include
2 AM_CFLAGS=-g
3
4 CLEANFILES = *~ test a.out *.o testgraph.xml testgraph.dot
5 DISTCLEANFILES =  gras/.libs/* xbt/.libs/* surf/.libs/* msg/.libs/* simdag/.libs/*
6
7 EXTRA_DIST=run_tests.in \
8   xbt/graph.xml \
9   surf/trace_A.txt surf/trace_B.txt surf/trace_A_failure.txt surf/platform.xml\
10   simdag/availability_tremblay.txt simdag/small_platform_variable.xml
11   
12 # Test stuff
13
14 xbt_tests =                                                      \
15         xbt/log_usage                                            \
16         xbt/heap_bench                                           \
17         xbt/graphxml_usage                                       \
18         xbt/context_usage                                        
19
20 SG_tests =                                              \
21         surf/maxmin_bench surf/lmm_usage \
22         surf/trace_usage surf/surf_usage surf/surf_usage2
23
24 simdag_tests = simdag/sd_test
25
26 check_PROGRAMS = $(xbt_tests) $(SG_tests) $(simdag_tests)
27 check_SCRIPTS = run_tests gras/trp_tcp_usage
28 TESTS=run_tests
29
30 test: $(noinst_PROGRAMS) $(noinst_SCRIPTS)
31         ./run_tests
32 valgrind: $(noinst_PROGRAMS) $(noinst_SCRIPTS)
33         ./run_tests valgrind
34
35 # LDADD_UTILS is still a separate var to distinguish core tester from RL tester
36 LDADD_SG=$(abs_top_builddir)/src/libsimgrid.la 
37 LDADD_RL=$(abs_top_builddir)/src/libgras.la   
38
39 xbt_log_usage_LDADD=          $(LDADD_RL)
40
41 xbt_heap_bench_LDADD=         $(LDADD_RL)
42 xbt_parallel_log_crashtest_LDADD=  $(LDADD_RL)
43
44 xbt_graphxml_usage_LDADD=     $(LDADD_SG)
45
46 xbt_context_usage_LDADD=      $(LDADD_SG)
47
48 surf_maxmin_bench_LDADD=      $(LDADD_SG)
49 surf_lmm_usage_LDADD=         $(LDADD_SG)
50 surf_trace_usage_LDADD=       $(LDADD_SG)
51 surf_surf_usage_LDADD=        $(LDADD_SG)
52 surf_surf_usage2_LDADD=       $(LDADD_SG)
53
54 simdag_sd_test_LDADD=       $(LDADD_SG)
55
56 include $(top_srcdir)/acmacro/dist-files.mk