Changeset d35e796


Ignore:
Timestamp:
Jun 14, 2018, 11:00:30 AM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, with_gc
Children:
ef952d7
Parents:
934d200
Message:

Fixed depencies of long tests based on type

Location:
src/tests
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • src/tests/.gitignore

    r934d200 rd35e796  
    11.out/
    22.err/
     3.type
  • src/tests/preempt_longrun/Makefile.am

    r934d200 rd35e796  
    2525TIME = /usr/bin/time -f "%E"
    2626
    27 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -I.. -I. -DTEST_$(shell echo $(type) | tr a-z A-Z)
     27# $(shell ./update-type $(type))
     28# ./update-type $(type)
     29
     30UPDATED_TYPE = $(shell ./update-type $(type))
     31
     32BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -I.. -I. -DTEST_$(shell cat .type | tr a-z A-Z)
    2833CFLAGS = ${BUILD_FLAGS}
    2934CC = @CFA_BINDIR@/@CFA_NAME@
     
    4550
    4651clean-local:
    47         rm -f ${TESTS} core* out.log
     52        rm -f ${TESTS} core* out.log .type
    4853
    49 % : %.c ${CC}
     54% : %.c ${CC} ${UPDATED_TYPE}
    5055        ${AM_V_GEN}${CC} ${CFLAGS} ${<} $(debug) -o ${@}
    5156
  • src/tests/preempt_longrun/Makefile.in

    r934d200 rd35e796  
    456456WATCHDOG = ${abs_top_srcdir}/tools/watchdog
    457457TIME = /usr/bin/time -f "%E"
    458 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -I.. -I. -DTEST_$(shell echo $(type) | tr a-z A-Z)
     458
     459# $(shell ./update-type $(type))
     460# ./update-type $(type)
     461UPDATED_TYPE = $(shell ./update-type $(type))
     462BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -I.. -I. -DTEST_$(shell cat .type | tr a-z A-Z)
    459463TESTS = block coroutine create disjoint enter enter3 processor stack wait yield
    460464all: all-am
     
    889893
    890894clean-local:
    891         rm -f ${TESTS} core* out.log
    892 
    893 % : %.c ${CC}
     895        rm -f ${TESTS} core* out.log .type
     896
     897% : %.c ${CC} ${UPDATED_TYPE}
    894898        ${AM_V_GEN}${CC} ${CFLAGS} ${<} $(debug) -o ${@}
    895899
Note: See TracChangeset for help on using the changeset viewer.