- Timestamp:
- May 30, 2018, 9:28:18 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
- Children:
- bd946e4
- Parents:
- 35718a9 (diff), ae32d96 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- src/tests
- Files:
-
- 1 deleted
- 4 edited
-
concurrent/signal/barge.c (deleted)
-
concurrent/signal/block.c (modified) (1 diff)
-
concurrent/signal/disjoint.c (modified) (2 diffs)
-
pybin/tools.py (modified) (2 diffs)
-
test.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/concurrent/signal/block.c
r35718a9 r94b1022a 40 40 } 41 41 42 void ^?{} ( global_data_t & this ) {}42 void ^?{} ( global_data_t & mutex this ) {} 43 43 44 44 global_data_t globalA, globalB; -
src/tests/concurrent/signal/disjoint.c
r35718a9 r94b1022a 26 26 monitor global_data_t; 27 27 void ?{}( global_data_t & this ); 28 void ^?{} ( global_data_t & this );28 void ^?{} ( global_data_t & mutex this ); 29 29 30 30 monitor global_data_t { … … 42 42 } 43 43 44 void ^?{} ( global_data_t & this ) {}44 void ^?{} ( global_data_t & mutex this ) {} 45 45 46 46 //------------------------------------------------------------------------------ -
src/tests/pybin/tools.py
r35718a9 r94b1022a 83 83 return sh(cmd) 84 84 85 def which(program): 86 import os 87 def is_exe(fpath): 88 return os.path.isfile(fpath) and os.access(fpath, os.X_OK) 89 90 fpath, fname = os.path.split(program) 91 if fpath: 92 if is_exe(program): 93 return program 94 else: 95 for path in os.environ["PATH"].split(os.pathsep): 96 exe_file = os.path.join(path, program) 97 if is_exe(exe_file): 98 return exe_file 99 100 return None 85 101 ################################################################################ 86 102 # file handling … … 219 235 return False 220 236 237 def fancy_print(text): 238 column = which('column') 239 if column: 240 cmd = "%s 2> /dev/null" % column 241 print(cmd) 242 proc = Popen(cmd, stdin=PIPE, stderr=None, shell=True) 243 proc.communicate(input=text) 244 else: 245 print(text) 221 246 222 247 settings.set_machine_default( getMachineType ) -
src/tests/test.py
r35718a9 r94b1022a 277 277 elif options.list : 278 278 print("Listing for %s:%s"% (settings.arch.string, settings.debug.string)) 279 print("\n".join(map(lambda t: "%s" % (t.toString()), tests)))279 fancy_print("\n".join(map(lambda t: "%s" % (t.toString()), tests))) 280 280 281 281 else :
Note:
See TracChangeset
for help on using the changeset viewer.