Commit 28dec56
authored
tests: fix binary test passing when failed and llvm-cov deprecated flag (#165)
* tests: coverage - fix llvm-cov deprecated --export-prefix
solves [#164](#164)
Signed-off-by: Artie Poole <stuart.poole@canonical.com>
* tests: workflows: fix binary test passing even if the script errored
sets pipefail flag and catches sub-script return state
disable -e only around coverage pipeline
Signed-off-by: Artie Poole <stuart.poole@canonical.com>
* tests: binary - the TF job did not catch the error from _run it seems
Signed-off-by: Artie Poole <stuart.poole@canonical.com>
* tests: coverage-test default RUSTFLAGS to empty in export call
Signed-off-by: Artie Poole <stuart.poole@canonical.com>
---------
Signed-off-by: Artie Poole <stuart.poole@canonical.com>1 parent 77dca34 commit 28dec56
3 files changed
Lines changed: 23 additions & 4 deletions
File tree
- .github/testflinger-assets
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
| 55 | + | |
| 56 | + | |
51 | 57 | | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments