Changeset 74358c3


Ignore:
Timestamp:
Jun 27, 2016, 11:52:11 AM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
d5b904d
Parents:
622c35a
Message:

removed issues with forced -jN option in submake

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/test.py

    r622c35a r74358c3  
    6161
    6262        # build, skipping to next test on error
    63         make_ret = sh("make -j 8 %s 2> %s 1> /dev/null" % (test, out_file), dry_run)
     63        make_ret = sh("%s -j 8 %s 2> %s 1> /dev/null" % (make_cmd, test, out_file), dry_run)
    6464
    6565        if make_ret == 0 :
     
    8484
    8585def run_tests(tests, generate, dry_run) :
    86         sh('make clean > /dev/null 2>&1', dry_run)
     86        sh("%s clean > /dev/null 2>&1" % make_cmd, dry_run)
    8787        sh('mkdir -p .out .expect', dry_run)
    8888
     
    102102                        print( "Done" )
    103103
    104         sh('make clean > /dev/null 2>&1', dry_run)
     104        sh("%s clean > /dev/null 2>&1" % make_cmd, dry_run)
    105105
    106106        return 1 if failed else 0
     
    141141                sys.exit(1)
    142142
     143tests.sort()
     144
     145make_cmd = "$(MAKE)" if environ.get('MAKELEVEL') else "make"
     146
    143147if options.list :
    144148        print("\n".join(tests))
Note: See TracChangeset for help on using the changeset viewer.