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
|
Rev | Line | |
---|
[cc3e4d0] | 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 | |
---|
| 17 | repeats=10 |
---|
| 18 | max_time=10 |
---|
| 19 | N=10ul |
---|
| 20 | preempt=10_000ul |
---|
| 21 | |
---|
| 22 | REPEAT = ${abs_top_srcdir}/tools/repeat -s |
---|
| 23 | |
---|
| 24 | BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DN=${N} -DPREEMPTION_RATE=${preempt} |
---|
| 25 | CFLAGS = ${BUILD_FLAGS} |
---|
| 26 | CC = @CFA_BINDIR@/@CFA_NAME@ |
---|
| 27 | |
---|
| 28 | TESTS = create stack yield |
---|
| 29 | |
---|
| 30 | .INTERMEDIATE: ${TESTS} |
---|
| 31 | |
---|
| 32 | all-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.