Changeset 15f9c8e


Ignore:
Timestamp:
Sep 12, 2019, 3:59:44 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
34e1494
Parents:
7009b9b
Message:

Some clean up and comments

Location:
tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile.am

    r7009b9b r15f9c8e  
    9999#----------------------------------------------------------------------------------------------------------------
    100100
    101 is_ascii = $(shell file )
    102 
    103101# implicit rule so not all test require a rule
     102# split into two steps to support compiling remotely using distcc
    104103% : %.cfa $(CFACCBIN)
    105104        $(CFACOMPILETEST) -c -o $(abspath ${@}).o
    106105        $(CFACC) $(abspath ${@}).o -o $(abspath ${@})
    107106
    108 # @ if [[ "$(shell file $(abspath ${@}).o)" == *"ASCII text"* ]]; then echo "mv $(abspath ${@}).o $(abspath ${@})"; mv $(abspath ${@}).o $(abspath ${@}); else echo "$(CFACC) $(abspath ${@}).o -o $(abspath ${@});"; $(CFACC) $(abspath ${@}).o -o $(abspath ${@}); fi
    109 
     107# second implicit rule for programs that don't produce an executable
     108# still in two steps for distcc
    110109declarationSpecifier gccExtensions extension attributes functions KRfunctions : % : %.cfa $(CFACCBIN)
    111110        $(CFACOMPILETEST) -CFA -XCFA -p -o $(abspath ${@}).o
  • tests/Makefile.in

    r7009b9b r15f9c8e  
    412412CFATEST_STDERR = $(CFACOMPILETEST) 2> $(abspath ${@})
    413413
    414 #----------------------------------------------------------------------------------------------------------------
    415 is_ascii = $(shell file )
    416 
    417414#------------------------------------------------------------------------------
    418415# TARGET WITH STANDARD RULE BUT CUSTOM FLAGS
     
    808805        @+${TEST_PY} --debug=${debug}  --install=${installed} -Iconcurrent
    809806
     807#----------------------------------------------------------------------------------------------------------------
     808
    810809# implicit rule so not all test require a rule
     810# split into two steps to support compiling remotely using distcc
    811811% : %.cfa $(CFACCBIN)
    812812        $(CFACOMPILETEST) -c -o $(abspath ${@}).o
    813813        $(CFACC) $(abspath ${@}).o -o $(abspath ${@})
    814814
    815 # @ if [[ "$(shell file $(abspath ${@}).o)" == *"ASCII text"* ]]; then echo "mv $(abspath ${@}).o $(abspath ${@})"; mv $(abspath ${@}).o $(abspath ${@}); else echo "$(CFACC) $(abspath ${@}).o -o $(abspath ${@});"; $(CFACC) $(abspath ${@}).o -o $(abspath ${@}); fi
    816 
     815# second implicit rule for programs that don't produce an executable
     816# still in two steps for distcc
    817817declarationSpecifier gccExtensions extension attributes functions KRfunctions : % : %.cfa $(CFACCBIN)
    818818        $(CFACOMPILETEST) -CFA -XCFA -p -o $(abspath ${@}).o
Note: See TracChangeset for help on using the changeset viewer.