Makefile.am 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2011, 2012 Institut National de Recherche en Informatique et Automatique
  4. #
  5. # StarPU is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU Lesser General Public License as published by
  7. # the Free Software Foundation; either version 2.1 of the License, or (at
  8. # your option) any later version.
  9. #
  10. # StarPU is distributed in the hope that it will be useful, but
  11. # WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. #
  14. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  15. gcc_tests = \
  16. base.c \
  17. pointers.c \
  18. output-pointer.c \
  19. output-pointer-errors.c \
  20. register.c \
  21. register-errors.c \
  22. acquire.c \
  23. acquire-errors.c \
  24. release.c \
  25. release-errors.c \
  26. unregister.c \
  27. unregister-errors.c \
  28. task-errors.c \
  29. scalar-tasks.c \
  30. pointer-tasks.c \
  31. external-task-impl.c \
  32. no-initialize.c \
  33. lib-user.c \
  34. wait-errors.c \
  35. heap-allocated.c \
  36. heap-allocated-errors.c \
  37. verbose.c \
  38. debug-tree.c \
  39. shutdown-errors.c
  40. if !STARPU_USE_OPENCL
  41. # XXX: This test simulates a buggy OpenCL implementation, and thus
  42. # cannot be run then a real <cl_platform.h> is included.
  43. gcc_tests += opencl-types.c
  44. endif !STARPU_USE_OPENCL
  45. dist_noinst_HEADERS = mocks.h
  46. CLEANFILES = *.gimple *.o \
  47. base \
  48. pointers \
  49. register \
  50. release \
  51. scalar-tasks \
  52. pointer-tasks \
  53. lib-user \
  54. output-pointer \
  55. unregister \
  56. heap-allocated \
  57. acquire
  58. EXTRA_DIST = ./run-test.in \
  59. my-lib.h my-lib.c \
  60. $(gcc_tests)
  61. # The test suite assumes that the CPU back-end is available.
  62. if STARPU_USE_CPU
  63. TESTS = $(gcc_tests)
  64. endif
  65. TESTS_ENVIRONMENT = ./run-test
  66. if !HAVE_GUILE
  67. check-hook:
  68. -@echo "GNU Guile not available, test suite not run."
  69. endif !HAVE_GUILE
  70. showcheck:
  71. -cat $(TEST_LOGS) /dev/null