source: src/tests/preempt_longrun/Makefile.am @ 1449d83

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

Updated longrun tests which where out of date

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[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
[f3c1737]12## Last Modified By :
13## Last Modified On :
[cc3e4d0]14## Update Count     : 0
15###############################################################################
16
17repeats=10
[d6ff3ff]18max_time=600
[f3c1737]19preempt=1_000ul
[cc3e4d0]20
[1449d83]21REPEAT = ${abs_top_srcdir}/tools/repeat
[cc3e4d0]22
[8c680e9]23BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DPREEMPTION_RATE=${preempt}
[cc3e4d0]24CFLAGS = ${BUILD_FLAGS}
25CC = @CFA_BINDIR@/@CFA_NAME@
26
[8b28a52]27TESTS = block create disjoint enter enter3 processor stack wait yield
[cc3e4d0]28
29.INTERMEDIATE: ${TESTS}
30
31all-local: ${TESTS:=.run}
32
[0764cfb]33clean-local:
34        rm -f ${TESTS}
35
[0e44184]36% : %.c ${CC}
[cc3e4d0]37        ${AM_V_GEN}${CC} ${CFLAGS} ${<} -o ${@}
38
[1449d83]39%.run : % ${REPEAT}
40        @ time ${REPEAT} -r out.log -i -s $(repeats) timeout ${max_time} ./${<}
[cc3e4d0]41        @ rm ${<}
[1449d83]42        @ echo -e "${<}: SUCCESS\n"
43
44${REPEAT}:
45        @+make -C ${abs_top_srcdir}/tools/
Note: See TracBrowser for help on using the repository browser.