Commit b73e7095 authored by Adam P. Goucher's avatar Adam P. Goucher

More Cygwin compatibility fixes

parent cc01f886
Pipeline #44923819 passed with stages
in 7 minutes and 31 seconds
#ifndef LIFELIB_VERSION /* #ifndef LIFELIB_VERSION /*
__version__=[x.replace('"', '') for x in ''' __version__=[x.replace('"', '') for x in '''
*/ */
#define LIFELIB_VERSION "ll2.1.10" #define LIFELIB_VERSION "ll2.1.11"
// '''.split() if ('ll' in x)][0][2:] // '''.split() if ('ll' in x)][0][2:]
#endif #endif
...@@ -150,7 +150,10 @@ def run_tests(): ...@@ -150,7 +150,10 @@ def run_tests():
print("Warning: if you are in a Jupyter notebook you will not see output until the tests complete.") print("Warning: if you are in a Jupyter notebook you will not see output until the tests complete.")
print("Use the terminal to view periodic progress...") print("Use the terminal to view periodic progress...")
subprocess.check_call(get_local_bash() + ['tests/test_all.sh', this_python]) if (os.name == 'nt'):
subprocess.check_call(get_local_bash() + ['tests/test_all.sh'])
else:
subprocess.check_call(get_local_bash() + ['tests/test_all.sh', this_python])
print("Completed tests successfully.") print("Completed tests successfully.")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment