Skip to content
Snippets Groups Projects
Commit 483b665b authored by Mick Jordan's avatar Mick Jordan
Browse files

pkgtest: create test files as tar.gz

parent f715908c
No related branches found
No related tags found
No related merge requests found
......@@ -233,8 +233,12 @@ def pkgtest(args):
print '{0}: {1}'.format(pkg, test_status.status)
# tar up the test results
subprocess.call(['tar', 'cf', join(_fastr_suite_dir, fastr_testdir + '.tar'), os.path.basename(fastr_testdir)])
subprocess.call(['tar', 'cf', join(_fastr_suite_dir, gnur_testdir + '.tar'), os.path.basename(gnur_testdir)])
fastr_tar = join(_fastr_suite_dir, fastr_testdir + '.tar')
subprocess.call(['tar', 'cf', fastr_tar, os.path.basename(fastr_testdir)])
subprocess.call(['gzip', fastr_tar])
gnur_tar = join(_fastr_suite_dir, gnur_testdir + '.tar')
subprocess.call(['tar', 'cf', gnur_tar, os.path.basename(gnur_testdir)])
subprocess.call(['gzip', gnur_tar])
shutil.rmtree(fastr_install_tmp, ignore_errors=True)
return rc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment