-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modified run_tests, added config version #29
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
5.1.0.2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,9 @@ | |
import xmlrunner | ||
import argparse | ||
|
||
# Import the configurations upgrade tool | ||
sys.path.append( os.path.join("C:\\", "Instrument", "Apps", "EPICS", "misc", "upgrade", "master")) | ||
from upgrade import perform_upgrade | ||
|
||
SCRIPT_DIRECTORY = os.path.abspath(os.path.join(os.path.dirname(__file__))) | ||
DEFAULT_DIRECTORY = os.path.join(SCRIPT_DIRECTORY, 'test-reports') | ||
|
@@ -69,6 +72,9 @@ | |
else: | ||
shutil.copy(file_or_dir_src, dest) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This ends up copying |
||
|
||
print("\n\n------ UPGRADING configurations ------") | ||
perform_upgrade() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I get an error when this is run of |
||
|
||
print("\n\n------ BEGINNING genie_python SYSTEM TESTS ------") | ||
ret_vals = list() | ||
ret_vals.append(xmlrunner.XMLTestRunner(output=xml_dir).run(test_suite)) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use the
EPICS_ROOT
environment variable here?