Makefile.am 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. ## Process this file with automake to produce Makefile.in
  2. TESTS = \
  3. check_check_export \
  4. check_check \
  5. test_output.sh \
  6. test_check_nofork.sh \
  7. test_check_nofork_teardown.sh \
  8. test_xml_output.sh \
  9. test_log_output.sh \
  10. test_set_max_msg_size.sh \
  11. test_tap_output.sh
  12. # check_thread_stress is kind of slow.
  13. # add this line back to TESTS to enable check_thread_stress
  14. # check_thread_stress \
  15. #
  16. # uncomment if check_thread_stress enabled
  17. # XFAIL_TESTS = \
  18. # check_thread_stress
  19. noinst_PROGRAMS = \
  20. check_check_export \
  21. check_check \
  22. check_stress \
  23. check_thread_stress \
  24. check_nofork \
  25. check_nofork_teardown \
  26. check_mem_leaks \
  27. check_set_max_msg_size \
  28. ex_output
  29. EXTRA_DIST = test_output.sh test_check_nofork.sh test_check_nofork_teardown.sh test_log_output.sh test_vars.in test_xml_output.sh test_tap_output.sh test_mem_leaks.sh test_output_strings test_set_max_msg_size.sh
  30. if NO_TIMEOUT_TESTS
  31. check_check_CFLAGS = -DTIMEOUT_TESTS_ENABLED=0
  32. check_check_export_CFLAGS = -DTIMEOUT_TESTS_ENABLED=0
  33. endif
  34. check_check_export_SOURCES = \
  35. check_check.h \
  36. check_check_sub.c \
  37. check_check_master.c \
  38. check_check_log.c \
  39. check_check_fork.c \
  40. check_check_tags.c \
  41. check_check_export_main.c
  42. check_check_export_LDADD = $(top_builddir)/src/libcheck.la $(top_builddir)/lib/libcompat.la
  43. check_check_SOURCES = \
  44. check_check.h \
  45. check_list.c \
  46. check_check_sub.c \
  47. check_check_master.c \
  48. check_check_msg.c \
  49. check_check_log.c \
  50. check_check_log_internal.c \
  51. check_check_limit.c \
  52. check_check_fork.c \
  53. check_check_fixture.c \
  54. check_check_pack.c \
  55. check_check_exit.c \
  56. check_check_selective.c \
  57. check_check_tags.c \
  58. check_check_main.c
  59. check_check_LDADD = $(top_builddir)/src/libcheckinternal.la $(top_builddir)/lib/libcompat.la
  60. check_mem_leaks_SOURCES = \
  61. check_mem_leaks.c \
  62. check_check_log.c \
  63. check_check_fork.c \
  64. check_check_exit.c \
  65. check_check_selective.c \
  66. check_check_tags.c \
  67. check_check_sub.c \
  68. check_check_master.c
  69. check_mem_leaks_LDADD = $(top_builddir)/src/libcheck.la $(top_builddir)/lib/libcompat.la
  70. check_mem_leaks_CFLAGS = -DTIMEOUT_TESTS_ENABLED=0 -DMEMORY_LEAKING_TESTS_ENABLED=0
  71. check_set_max_msg_size_SOURCES = \
  72. check_set_max_msg_size.c
  73. check_set_max_msg_size_LDADD = $(top_builddir)/src/libcheck.la $(top_builddir)/lib/libcompat.la
  74. check_stress_SOURCES = check_stress.c
  75. check_stress_LDADD = $(top_builddir)/src/libcheck.la $(top_builddir)/lib/libcompat.la
  76. check_thread_stress_SOURCES = check_thread_stress.c
  77. check_thread_stress_LDADD = $(top_builddir)/src/libcheck.la $(top_builddir)/lib/libcompat.la @PTHREAD_LIBS@
  78. check_thread_stress_CFLAGS = @PTHREAD_CFLAGS@
  79. check_nofork_SOURCES = check_nofork.c
  80. check_nofork_LDADD = $(top_builddir)/src/libcheck.la $(top_builddir)/lib/libcompat.la
  81. check_nofork_teardown_SOURCES = check_nofork_teardown.c
  82. check_nofork_teardown_LDADD = $(top_builddir)/src/libcheck.la $(top_builddir)/lib/libcompat.la
  83. ex_output_SOURCES = ex_output.c
  84. ex_output_LDADD = $(top_builddir)/src/libcheck.la $(top_builddir)/lib/libcompat.la
  85. AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
  86. CLEANFILES = *~ *.log *.xml *.tap test_logfile