Changeset 95b1e28 for src/tests


Ignore:
Timestamp:
Jul 31, 2018, 8:35:42 AM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
5d4fa18
Parents:
4137e31 (diff), a4248de1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg2:software/cfa/cfa-cc

Location:
src/tests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/tests/Makefile.am

    r4137e31 r95b1e28  
    7979        @+${TEST_PY} --debug=${debug} -Iconcurrent
    8080
     81# SKULLDUGGERY like libcfa/Makefile.am prevent extensionless headers from being generated
     82# however, here it is more complicated because it must match the dependencies based on how
     83# they are generated by gcc
     84headers = $(shell find $(top_srcdir)/src/libcfa -type f ! -name "*.*")
     85headers_real = $(shell realpath --relative-to=$(top_srcdir)/src/libcfa $(headers))
     86headers_deps = $(addprefix %/, $(headers_real))
     87$(headers_deps) :
     88        echo "Dummy rule, should never be called"
     89
     90# %/stdlib:
     91#       echo "Dummy rule, should never be called"
     92
     93# implicit rule so not all test require a rule
    8194% : %.c $(CC)
     95        echo $(headers_deps)
    8296        $(COMPILE) $(abspath ${<}) -o ${@}
    8397
  • src/tests/Makefile.in

    r4137e31 r95b1e28  
    309309fstream_test_SOURCES = fstream_test.c
    310310avl_test_SOURCES = avltree/avl_test.c avltree/avl0.c avltree/avl1.c avltree/avl2.c avltree/avl3.c avltree/avl4.c avltree/avl-private.c
     311
     312# SKULLDUGGERY like libcfa/Makefile.am prevent extensionless headers from being generated
     313# however, here it is more complicated because it must match the dependencies exactly
     314# depencies seem to have the absolute path to the build directory and relative path
     315# to the headers from there
     316headers = $(shell find $(top_srcdir)/src/libcfa -type f ! -name "*.*")
     317headers_real = $(shell realpath --relative-to=$(top_srcdir)/src/libcfa $(headers))
     318headers_deps = $(addprefix %/, $(headers_real))
    311319all: all-am
    312320
     
    626634concurrency :
    627635        @+${TEST_PY} --debug=${debug} -Iconcurrent
    628 
     636$(headers_deps) :
     637        echo "Dummy rule, should never be called"
     638
     639# %/stdlib:
     640#       echo "Dummy rule, should never be called"
     641
     642# implicit rule so not all test require a rule
    629643% : %.c $(CC)
     644        echo $(headers_deps)
    630645        $(COMPILE) $(abspath ${<}) -o ${@}
    631646
  • src/tests/preempt_longrun/Makefile.am

    r4137e31 r95b1e28  
    3232BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -I.. -I. -DTEST_$(shell cat .type | tr a-z A-Z)
    3333CFLAGS = ${BUILD_FLAGS}
    34 CC = @CFA_BINDIR@/@CFA_NAME@
     34CC = ${top_builddir}/src/driver/cfa
    3535
    3636TESTS = block coroutine create disjoint enter enter3 processor stack wait yield
  • src/tests/preempt_longrun/Makefile.in

    r4137e31 r95b1e28  
    337337AWK = @AWK@
    338338BACKEND_CC = @BACKEND_CC@
    339 CC = @CFA_BINDIR@/@CFA_NAME@
     339CC = ${top_builddir}/src/driver/cfa
    340340CCAS = @CCAS@
    341341CCASDEPMODE = @CCASDEPMODE@
Note: See TracChangeset for help on using the changeset viewer.