Skip to content
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

fix #16576: honor matrix in testament by making such tests non joinable #16577

Merged
merged 3 commits into from
Jan 4, 2021

Conversation

timotheecour
Copy link
Member

@timotheecour timotheecour commented Jan 4, 2021

@timotheecour timotheecour force-pushed the pr_fix_testament_matrix_joinable branch from 7292bc0 to 55732af Compare January 4, 2021 05:01
@timotheecour timotheecour changed the title refs #16576: honor matrix in testament by making such tests non joinable fix #16576: honor matrix in testament by making such tests non joinable Jan 4, 2021
@timotheecour timotheecour mentioned this pull request Jan 4, 2021
14 tasks
@timotheecour timotheecour requested a review from ringabout January 4, 2021 05:08
@timotheecour timotheecour requested a review from Clyybber January 4, 2021 10:35
@timotheecour timotheecour force-pushed the pr_fix_testament_matrix_joinable branch from 0888475 to 82a8f14 Compare January 4, 2021 11:28
@@ -656,7 +660,7 @@ proc runJoinedTest(r: var TResults, cat: Category, testsDir: string) =
writeFile(megatestFile, megatest)

let root = getCurrentDir()
let args = ["c", "--nimCache:" & outDir, "-d:testing", "--listCmd", "--path:" & root, megatestFile]
let args = ["c", "--nimCache:" & outDir, "-d:testing", "-d:nimMegatest", "--listCmd", "--path:" & root, megatestFile]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So joinable tests will have nimMegatest defined?
Please add docs for it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's only meant for testing correctness of logic of whether a test is joined, but sure, tracking this here timotheecour#64 (comment)

@Araq Araq merged commit 00144ee into nim-lang:devel Jan 4, 2021
@timotheecour timotheecour mentioned this pull request Jan 4, 2021
1 task
@timotheecour timotheecour deleted the pr_fix_testament_matrix_joinable branch January 4, 2021 19:12
mildred pushed a commit to mildred/Nim that referenced this pull request Jan 11, 2021
…n joinable (nim-lang#16577)

* refs nim-lang#16576: honor matrix in testament by making such tests non joinable

* add tests + misc fixes

* fix test for i386 with -d:danger
ardek66 pushed a commit to ardek66/Nim that referenced this pull request Mar 26, 2021
…n joinable (nim-lang#16577)

* refs nim-lang#16576: honor matrix in testament by making such tests non joinable

* add tests + misc fixes

* fix test for i386 with -d:danger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants