Conversation
|
The macOS job is failing because certain test binaries have no permissions to call |
|
Yep, it only works when Update: I was able to bypass this using |
error: 'numeric_limits' is not a member of 'std'
This commit fixes linking issues on macOS Monteray.
8a97055 to
5ce5106
Compare
|
I'm afraid I can not fix this without modifying the source of https://github.com/brodie/cram/blob/59c164dfa6cbe4845aad2c958e77695073d5e802/cram/_main.py#L22 See also: aiiie/cram#24 |
|
I'm not opposed in keeping a couple of patches in the |
|
Okay, I will give it a try. Thank you, @Snaipe. |
4a9d3e9 to
f4ef92b
Compare
|
Yay, it works! With Snaipe/BoxFort#32, all tests passed. |
|
cram is abandadoned for 5+ years now https://github.com/brodie/cram (last commit from 2016). |
|
Hi, |
Snaipe
left a comment
There was a problem hiding this comment.
We can open a separate issue for evaluating what it'd take to switch from cram; for now, this overall looks good to me.
This is an attempt to fix cram tests in non-POSIX-compliant environment.
This commit contains a patch for cram to fix an environment encoding issue: TypeError: environment can only contain strings Cram tests should be executed by `meson devenv`, because meson does not seem to add rpath entries on Windows.
|
@Snaipe Thank you for reviewing my PR. I've updated the BoxFort subproject revision after you merged Snaipe/BoxFort#32. |
|
I am looking at Exactly vs Cram. I've started to implement the cram tests using Exactly: https://github.com/emilkarlen/Criterion-exactly |
|
I have added Exactly counterparts of the Cram tests: if is of interest. |
|
@MrAnno Thanks for the changes, LGTM. @emilkarlen Would you mind opening a PR with the changes on your fork? This will be a better place for discussing anything related to the topic of moving away from Cram. |
This PR fixes Cirrus CI build and test jobs on macOS, Windows, and FreeBSD.
I've also had a quick look at GitHub Actions, it seems to be a stable/native/fast CI alternative, which works really well with GitHub.
Unfortunately, FreeBSD is not officially available there.
Depends on Snaipe/BoxFort#31
Depends on Snaipe/BoxFort#32
Resolves the linking issue in #391
Fixes #377