Changeset 7079


Ignore:
Timestamp:
May 25, 2009, 4:48:55 PM (15 years ago)
Author:
rwilson
Message:

Changed test to force a compile before testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy_misc/tools/acceptance_tests/test_eqrm.py

    r7025 r7079  
    2626
    2727    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)
    2838
    2939    # run test_all.py
    3040    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()
    3444    util.log_print(logfile, test_result)
    3545
Note: See TracChangeset for help on using the changeset viewer.