Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill context test since contextes cannot be used without simix anymore
[simgrid.git] / testsuite / Makefile.am
1 # Copyright (c) 2004-2007. The SimGrid team. All right reserved.
2
3 # This file is part of the SimGrid project. This is free software:
4 # You can redistribute and/or modify it under the terms of the
5 # GNU LGPL (v2.1) licence.
6
7
8 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/src/include
9 AM_CFLAGS=-g
10
11 CLEANFILES = *~ test a.out *.o testgraph.xml testgraph.dot
12 DISTCLEANFILES =  gras/.libs/* xbt/.libs/* surf/.libs/* msg/.libs/* simdag/.libs/*
13
14 EXTRA_DIST=run_tests.in \
15   xbt/graph.xml \
16   surf/trace_A.txt surf/trace_B.txt surf/trace_A_failure.txt surf/platform.xml\
17   simdag/availability_tremblay.txt simdag/small_platform_variable.xml
18   
19 # Test stuff
20
21 xbt_tests =                                                      \
22         xbt/log_usage                                            \
23         xbt/heap_bench                                           \
24         xbt/graphxml_usage                                       
25
26 SG_tests =                                              \
27         surf/maxmin_bench surf/lmm_usage \
28         surf/trace_usage surf/surf_usage surf/surf_usage2
29
30 simdag_tests = simdag/sd_test
31
32 check_PROGRAMS = $(xbt_tests) $(SG_tests) $(simdag_tests)
33 check_SCRIPTS = run_tests 
34 TESTS=run_tests
35
36 test: $(noinst_PROGRAMS) $(noinst_SCRIPTS)
37         ./run_tests
38 valgrind: $(noinst_PROGRAMS) $(noinst_SCRIPTS)
39         ./run_tests valgrind
40
41 # LDADD_UTILS is still a separate var to distinguish core tester from RL tester
42 LDADD_SG=$(abs_top_builddir)/src/libsimgrid.la 
43 LDADD_RL=$(abs_top_builddir)/src/libgras.la   
44
45 xbt_log_usage_LDADD=          $(LDADD_RL)
46
47 xbt_heap_bench_LDADD=         $(LDADD_RL)
48
49 xbt_graphxml_usage_LDADD=     $(LDADD_SG)
50
51
52 surf_maxmin_bench_LDADD=      $(LDADD_SG)
53 surf_lmm_usage_LDADD=         $(LDADD_SG)
54 surf_trace_usage_LDADD=       $(LDADD_SG)
55 surf_surf_usage_LDADD=        $(LDADD_SG)
56 surf_surf_usage2_LDADD=       $(LDADD_SG)
57
58 simdag_sd_test_LDADD=       $(LDADD_SG)
59
60 include $(top_srcdir)/acmacro/dist-files.mk