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

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

Added monitor tests to preempt longrun tests

  • 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=10
19N=10ul
20preempt=10_000ul
21
22REPEAT = ${abs_top_srcdir}/tools/repeat -s
23
24BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DN=${N} -DPREEMPTION_RATE=${preempt}
25CFLAGS = ${BUILD_FLAGS}
26CC = @CFA_BINDIR@/@CFA_NAME@
27
28TESTS = barge block create disjoint processor stack wait yield
29
30.INTERMEDIATE: ${TESTS}
31
32all-local: ${TESTS:=.run}
33
34% : %.c ${CC}
35        ${AM_V_GEN}${CC} ${CFLAGS} ${<} -o ${@}
36
37%.run : %
38        @ time ${REPEAT} $(repeats) timeout ${max_time} ./${<}
39        @ rm ${<}
40        @ echo -e "${<}: SUCCESS\n"
Note: See TracBrowser for help on using the repository browser.