Changeset 571 for trunk/softs/test_llsc/scripts/run_simus.py
- Timestamp:
- Oct 31, 2013, 5:47:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/test_llsc/scripts/run_simus.py
r536 r571 23 23 nb_locks = 20 24 24 nb_max_incr = 2000 25 nb_procs = 425 nb_procs = 64 26 26 27 27 … … 105 105 # Quit if results obtained by simulation are incorrect 106 106 print "diff", term_filename, os.path.join(data_dir, res_natif) 107 output = subprocess.Popen([ 'diff', term_filename, os.path.join(data_dir, res_natif) ] ).communicate()[0]108 if output != None:107 output = subprocess.Popen([ 'diff', term_filename, os.path.join(data_dir, res_natif) ], stdout = subprocess.PIPE).communicate()[0] 108 if output != "": 109 109 break; 110 110
Note: See TracChangeset
for help on using the changeset viewer.