-
Notifications
You must be signed in to change notification settings - Fork 74
Convert all scripts #306
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
Convert all scripts #306
Conversation
allnes
commented
Feb 7, 2025
•
edited
Loading
edited
- Convert all scripts (exception - perf generator)
- Separate windows builds and tests
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #306 +/- ##
=======================================
Coverage 93.94% 93.94%
=======================================
Files 26 26
Lines 479 479
Branches 143 143
=======================================
Hits 450 450
Misses 14 14
Partials 15 15 ☔ View full report in Codecov by Sentry. |
ae08291
to
dced792
Compare
6843cf4
to
bdf721e
Compare
bdf721e
to
4a9306b
Compare
scripts/run_perf_counter.py
Outdated
pattern = r".*all\.|.*_mpi.|.*_omp.|.*_seq.|.*_stl.|.*_tbb." | ||
test_matches = [test_name for test_name in tests_list if re.match(pattern, test_name)] | ||
if len(tests_list) != 3 * len(test_matches): | ||
raise Exception(f"Count of all test {len(tests_list)} != count of theoretical count test {len(test_matches)}.") |
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.
Should that be multiplied by 3 in the message as well?
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.
@aobolensk corrected
scripts/run_tests.py
Outdated
self.ocv_script_path = "build/ppc_opencv/install/" + self.ocv_script_name | ||
else: | ||
self.ocv_script_name = "setup_vars_opencv4.sh" | ||
self.ocv_script_path = "build/ppc_opencv/install/bin/" + self.ocv_script_name |
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.
use Path
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.
@aobolensk corrected
Co-authored-by: Arseniy Obolenskiy <[email protected]>
Co-authored-by: Arseniy Obolenskiy <[email protected]>
Co-authored-by: Arseniy Obolenskiy <[email protected]>