source: src/tests/preempt_longrun/Makefile.am @ bf2438c

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerresolv-newwith_gc
Last change on this file since bf2438c was bf2438c, checked in by Thierry Delisle <tdelisle@…>, 4 years ago

Cleaned-up some headers using a tool called 'include-what-you-use'

  • Property mode set to 100644
File size: 1.0 KB
Line 
1######################## -*- Mode: Makefile-Automake -*- ######################
2##
3## Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
4##
5## The contents of this file are covered under the licence agreement in the
6## file "LICENCE" distributed with Cforall.
7##
8## Makefile.am --
9##
10## Author           : Thierry Delisle
11## Created On       : Fri Jun 16 10:57:34 2017
12## Last Modified By :
13## Last Modified On :
14## Update Count     : 0
15###############################################################################
16
17repeats=10
18max_time=30
19preempt=10_000ul
20
21REPEAT = ${abs_top_srcdir}/tools/repeat -s
22
23BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DPREEMPTION_RATE=${preempt}
24CFLAGS = ${BUILD_FLAGS}
25CC = @CFA_BINDIR@/@CFA_NAME@
26
27TESTS = barge block create disjoint processor stack wait yield
28
29.INTERMEDIATE: ${TESTS}
30
31all-local: ${TESTS:=.run}
32
33% : %.c ${CC}
34        ${AM_V_GEN}${CC} ${CFLAGS} ${<} -o ${@}
35
36%.run : %
37        @ time ${REPEAT} $(repeats) timeout ${max_time} ./${<}
38        @ rm ${<}
39        @ echo -e "${<}: SUCCESS\n"
Note: See TracBrowser for help on using the repository browser.