Changeset 47f9422


Ignore:
Timestamp:
Apr 24, 2017, 2:35:46 PM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
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, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
026a0f5, 89a9be2
Parents:
00303d50
Message:

Fixed machinte type dependency on tests folders not in the git repo

Location:
src/tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/tests/Makefile.am

    r00303d50 r47f9422  
    2929# applies to both programs
    3030EXTRA_FLAGS =
    31 CFLAGS = 2> .err/${@}.log -g -Wall -Wno-unused-function @CFA_FLAGS@ ${EXTRA_FLAGS}
     31BUILD_FLAGS = -g -Wall -Wno-unused-function @CFA_FLAGS@ ${EXTRA_FLAGS}
     32CFLAGS = 2> .err/${@}.log ${BUILD_FLAGS}
    3233CC = @CFA_BINDIR@/@CFA_NAME@
    3334
     
    5253
    5354.dummy : .dummy.c
    54         ${CC} ${CFLAGS} -XCFA -n ${<} -o ${@}
     55        ${CC} ${BUILD_FLAGS} -XCFA -n ${<} -o ${@}                              #don't use CFLAGS, this rule is not a real test
    5556
    5657constant0-1DP : constant0-1.c
  • src/tests/Makefile.in

    r00303d50 r47f9422  
    125125CFA_NAME = @CFA_NAME@
    126126CFA_PREFIX = @CFA_PREFIX@
    127 CFLAGS = 2> .err/${@}.log -g -Wall -Wno-unused-function @CFA_FLAGS@ ${EXTRA_FLAGS}
     127CFLAGS = 2> .err/${@}.log ${BUILD_FLAGS}
    128128CPP = @CPP@
    129129CPPFLAGS = @CPPFLAGS@
     
    232232# applies to both programs
    233233EXTRA_FLAGS =
     234BUILD_FLAGS = -g -Wall -Wno-unused-function @CFA_FLAGS@ ${EXTRA_FLAGS}
    234235fstream_test_SOURCES = fstream_test.c
    235236vector_test_SOURCES = vector/vector_int.c vector/array.c vector/vector_test.c
     
    670671
    671672.dummy : .dummy.c
    672         ${CC} ${CFLAGS} -XCFA -n ${<} -o ${@}
     673        ${CC} ${BUILD_FLAGS} -XCFA -n ${<} -o ${@}                              #don't use CFLAGS, this rule is not a real test
    673674
    674675constant0-1DP : constant0-1.c
  • src/tests/test.py

    r00303d50 r47f9422  
    2929        ret, out = sh("make .dummy", print2stdout=False)
    3030        if ret != 0:
     31                print("Failed to identify architecture:")
    3132                print(out)
     33                print("Stopping")
     34                sys.exit(1)
    3235        _, out = sh("file .dummy", print2stdout=False)
    3336        sh("rm -f .dummy.c > /dev/null 2>&1")
Note: See TracChangeset for help on using the changeset viewer.