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

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since cc3e4d0 was cc3e4d0, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

Added longrunning tests for preemption

  • 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 = create stack yield
29
30.INTERMEDIATE: ${TESTS}
31
32all-local: ${TESTS:=.run}
33
34% : %.c /u0/tdelisle/workspace/cfa-cc/bin/cfa
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.