Skip to content

Conversation

gbarkadiusz
Copy link
Contributor

Change direction for raw data file from $ZEPHYR_BASE to <path_to>twister-out/..//

@gbarkadiusz gbarkadiusz force-pushed the topic/change_path_for_raw_data branch 2 times, most recently from 1485502 to 030ee22 Compare July 14, 2025 13:14
Copy link

@nashif nashif requested a review from kartben July 15, 2025 22:56
Copy link

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.

@github-actions github-actions bot added the Stale label Sep 14, 2025
@nashif nashif removed the Stale label Sep 14, 2025
nashif
nashif previously approved these changes Sep 14, 2025
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"
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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

Copy link
Contributor

@majunkier majunkier Oct 15, 2025

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

Change direction for raw data file from $ZEPHYR_BASE
to <path_to>twister-out/../<test>/

Signed-off-by: Arkadiusz Cholewinski <[email protected]>
@majunkier majunkier force-pushed the topic/change_path_for_raw_data branch from 032e43e to 45760ad Compare October 21, 2025 15:11
@majunkier
Copy link
Contributor

rebase done

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Twister power harness for PowerShield creates rawData.csv file in ZEPHYR_BASE

5 participants