Changeset 6b9daf1
- Timestamp:
- Aug 16, 2018, 5:14:55 PM (6 years ago)
- 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
- Location:
- tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/pybin/settings.py
rafc2427 r6b9daf1 112 112 global install 113 113 global timeout 114 global ldpath 114 115 115 116 dry_run = options.dry_run … … 120 121 arch = Architecture(options.arch) 121 122 timeout = Timeouts(options.timeout, options.global_timeout) 123 ldpath = "LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH:%slibcfa/%s-%s/src/.libs\"" % (BUILDDIR, arch, "debug" if options.debug else "nodebug") 122 124 123 125 -
tests/test.py
rafc2427 r6b9daf1 162 162 if settings.dry_run or fileIsExecutable(exe_file) : 163 163 # 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) 165 165 else : 166 166 # simply cat the result into the output
Note: See TracChangeset
for help on using the changeset viewer.