Changeset 6b9daf1 for tests/test.py


Ignore:
Timestamp:
Aug 16, 2018, 5:14:55 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
b215e92b
Parents:
afc2427
Message:

Add library path to executable command for tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/test.py

    rafc2427 r6b9daf1  
    162162                if settings.dry_run or fileIsExecutable(exe_file) :
    163163                        # run test
    164                         retcode, _ = sh("timeout %d %s > %s 2>&1" % (settings.timeout.single, exe_file, out_file), input = in_file)
     164                        retcode, _ = sh("%s timeout %d %s > %s 2>&1" % (settings.ldpath, settings.timeout.single, exe_file, out_file), input = in_file)
    165165                else :
    166166                        # simply cat the result into the output
Note: See TracChangeset for help on using the changeset viewer.