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

test: add script to test all implementations #96

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

AlexanderYastrebov
Copy link
Contributor

The script tests all implementations and prints PASS or FAIL status. In case of failure it also prints implementation output to stderr.

This will be handy for adding new test samples.

Show test statuses and omit failing output:

$ ./test_all.sh 2>/dev/null
PASS artsiomkorzun
PASS baseline
PASS bjhara
PASS criccomini
FAIL ddimtirov
FAIL ebarlas
PASS filiphr
FAIL itaske
PASS khmarbaise
FAIL kuduwa-keshavram
FAIL lawrey
PASS padreati
FAIL palmr
PASS richardstartin
FAIL royvanrijn
FAIL seijikun
PASS spullara
PASS truelive

Show only passing implementations:

$ ./test_all.sh 2>/dev/null | grep PASS | cut -d' ' -f2
artsiomkorzun
baseline
bjhara
criccomini
filiphr
khmarbaise
padreati
richardstartin
spullara
truelive

For #61

The script tests all implementations and prints PASS or FAIL status.
In case of failure it also prints implementation output to stderr.

This will be handy for adding new test samples.

Show test statuses and omit failing output:
```sh
$ ./test_all.sh 2>/dev/null
PASS artsiomkorzun
PASS baseline
PASS bjhara
PASS criccomini
FAIL ddimtirov
FAIL ebarlas
PASS filiphr
FAIL itaske
PASS khmarbaise
FAIL kuduwa-keshavram
FAIL lawrey
PASS padreati
FAIL palmr
PASS richardstartin
FAIL royvanrijn
FAIL seijikun
PASS spullara
PASS truelive
```

Show only passing implementations:
```
$ ./test_all.sh 2>/dev/null | grep PASS | cut -d' ' -f2
artsiomkorzun
baseline
bjhara
criccomini
filiphr
khmarbaise
padreati
richardstartin
spullara
truelive
```

For gunnarmorling#61
@gunnarmorling
Copy link
Owner

Ah, that is really good! Thank you so much, really appreciate it. I'm surprised to see lawrey fail, that LGTM here 🤔 .

@gunnarmorling gunnarmorling merged commit 8124a0c into gunnarmorling:main Jan 4, 2024
1 check passed
@AlexanderYastrebov
Copy link
Contributor Author

I'm surprised to see lawrey fail

Might be due to my setup. E.g. in my fork I had to fix scripts that use sdk like 71a4ee8

@AlexanderYastrebov AlexanderYastrebov deleted the test_all.sh branch January 4, 2024 20:17
@gunnarmorling
Copy link
Owner

It was caused by the GC logging he did. I've removed that one, so it's showing PASS now, as expected.

@AlexanderYastrebov
Copy link
Contributor Author

Do others pass in your environment? Maybe you could run test_all.sh and file an issue for each failure?

@gunnarmorling
Copy link
Owner

Done, see #284 ff. (there's a few more failures but these authors have pending PRs already, so I reckon any failures have been fixed there already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants