-
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?
Conversation
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.
I don't think this quite works as expected, see comments.
@@ -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")) |
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?
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
This ends up copying config_version.txt
to machine_name/configurations/configurations
it should actually live in machine_name/configurations
otherwise the upgrade script won't find it.
@@ -69,6 +72,9 @@ | |||
else: | |||
shutil.copy(file_or_dir_src, dest) | |||
|
|||
print("\n\n------ UPGRADING configurations ------") | |||
perform_upgrade() |
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.
I get an error when this is run of No such file or directory: "src\\schemas\\new_banner.xsd"
Description of work
As above
Ticket
#5048
Acceptance criteria
List the acceptance criteria for the PR. The aim is provide information to help the reviewer
Unit tests
Give an overview of unit tests you have added or modified, if applicable. The aim is provide information to help the reviewer
System tests
Mention any automated tests or manual tests that you have added or modified, if applicable. The aim is provide information to help the reviewer
Documentation
Highlight and provide a link to any additions or changes to the documentation, if applicable. The aim is provide information to help the reviewer
Code Review
Final Steps