Changeset 7079 for branches/numpy_misc
- Timestamp:
- May 25, 2009, 4:48:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/numpy_misc/tools/acceptance_tests/test_eqrm.py
r7025 r7079 26 26 27 27 os.chdir(os.path.join(eqrm_path)) 28 print 'in %s' % os.getcwd() 29 30 # run clean_all.py 31 util.log_print_nl(logfile, '%s clean_all.py' % python_env_var) 32 (fd_in, fd_out) = os.popen4('%s clean_all.py' % python_env_var) 33 fd_in.write('y\n') 34 fd_in.close() 35 clean_result = fd_out.read() 36 fd_out.close() 37 util.log_print(logfile, clean_result) 28 38 29 39 # run test_all.py 30 40 util.log_print_nl(logfile, '%s test_all.py' % python_env_var) 31 (_, fd ) = os.popen4('%s test_all.py' % python_env_var)32 test_result = fd .read()33 status = fd .close()41 (_, fd_out) = os.popen4('%s test_all.py' % python_env_var) 42 test_result = fd_out.read() 43 status = fd_out.close() 34 44 util.log_print(logfile, test_result) 35 45
Note: See TracChangeset
for help on using the changeset viewer.