-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Power harness: Update path for the raw data file. #93100
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
base: main
Are you sure you want to change the base?
Power harness: Update path for the raw data file. #93100
Conversation
1485502
to
030ee22
Compare
|
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
output_file: str = "rawData.csv" | ||
output_file: str = field( | ||
default_factory=lambda: os.path.join( | ||
os.environ.get("ZEPHYR_BASE", "."), "twister-out", "power_raw_data.csv" |
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.
"twister-out" shouldn't be hard-coded as the outdir can be configured.
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 no longer have access to the hardware required for that particular test. Please proceed by either merging it as is or creating a new pull request with the changes you proposed.
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.
@kartben i will provide changes based on your suggestion
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 have reverted this change, file was overwritten when multiple test runs. Using --build-dir in test_power.py resolves this by producing file per scenario in correct path
030ee22
to
8465c2f
Compare
8465c2f
to
032e43e
Compare
Change direction for raw data file from $ZEPHYR_BASE to <path_to>twister-out/../<test>/ Signed-off-by: Arkadiusz Cholewinski <[email protected]>
032e43e
to
45760ad
Compare
rebase done |
|
Change direction for raw data file from $ZEPHYR_BASE to <path_to>twister-out/..//