Changeset 763fcf6 in flex_extract.git
- Timestamp:
- Aug 31, 2018, 4:33:13 PM (6 years ago)
- Branches:
- master, ctbto, dev
- Children:
- 06c45e7
- Parents:
- 451bb19
- Location:
- python
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
python/install.py
r54a8a01 r763fcf6 195 195 c.ecuid, c.ecgid) 196 196 197 submit_job_to_ecserver(ecd + '/python/', c.install_target,198 'compilejob.ksh')197 result_code = submit_job_to_ecserver(ecd + '/python/', c.install_target, 198 'compilejob.ksh') 199 199 200 200 print 'job compilation script has been submitted to ecgate for ' + \ -
python/pythontest/TestTools.py
r451bb19 r763fcf6 121 121 def test_fail_submit_job_to_ecserver(self): 122 122 with pytest.raises(SystemExit) as pytest_wrapped_e: 123 submit_job_to_ecserver(' ${HOME}', 'ecgate', 'job.ksh')123 submit_job_to_ecserver('ecgate', 'job.ksh') 124 124 assert pytest_wrapped_e.type == SystemExit 125 125 assert pytest_wrapped_e.value.code == '... ECACCESS-JOB-SUBMIT FAILED!' … … 127 127 def test_success_submit_job_to_ecserver(self): 128 128 129 result = submit_job_to_ecserver('TestData/testfile.txt', 130 'ecgate', 'TestData/testfile.txt') 129 result = submit_job_to_ecserver('ecgate', 'TestData/testfile.txt') 131 130 assert result == 0 132 131 -
python/submit.py
r54a8a01 r763fcf6 161 161 f.write('\n'.join(lftextondemand)) 162 162 163 submit_job_to_ecserver('',queue, job_file)163 result_code = submit_job_to_ecserver(queue, job_file) 164 164 165 165 else: … … 187 187 f.write('\n'.join(lftextoper)) 188 188 189 submit_job_to_ecserver('',queue, job_file)189 result_code = submit_job_to_ecserver(queue, job_file) 190 190 191 191 # --------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.