Changeset 7bd045d


Ignore:
Timestamp:
Jun 27, 2016, 4:17:17 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, 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:
e7ce55e
Parents:
d5b904d
Message:

fixed python test script to only add -j8 if needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/test.py

    rd5b904d r7bd045d  
    6161
    6262        # build, skipping to next test on error
    63         make_ret = sh("%s -j 8 %s 2> %s 1> /dev/null" % (make_cmd, test, out_file), dry_run)
     63        make_ret = sh("%s %s 2> %s 1> /dev/null" % (make_cmd, test, out_file), dry_run)
    6464
    6565        if make_ret == 0 :
     
    142142
    143143tests.sort()
    144 
    145 make_cmd = "$(MAKE)" if environ.get('MAKELEVEL') else "make"
     144make_flags = environ.get('MAKEFLAGS')
     145make_cmd = "make" if make_flags and "-j" in make_flags else "make -j8"
    146146
    147147if options.list :
Note: See TracChangeset for help on using the changeset viewer.