Commit 878826c
authored
acc: add ability to skip tests dynamically (#2894)
## Changes
- If acceptance test outputs "SKIP_TEST <reason>" as last line, test
runner will call t.Skip() on this test.
- Modify "Summary" output to indicate that this about directories, not
test cases (single directory can expand to many test cases; dynamic
skips are not reflected in the output of Summary line).
## Why
See #2876 -- we test all
combinations of default-python template there but not all of them work
in all environments.
## Tests
New selftest.
Testing in practice in #28761 parent 01e2053 commit 878826c
3 files changed
+20
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
474 | | - | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
475 | 479 | | |
476 | 480 | | |
477 | 481 | | |
| |||
847 | 851 | | |
848 | 852 | | |
849 | 853 | | |
850 | | - | |
| 854 | + | |
851 | 855 | | |
852 | 856 | | |
853 | 857 | | |
| |||
863 | 867 | | |
864 | 868 | | |
865 | 869 | | |
866 | | - | |
| 870 | + | |
867 | 871 | | |
868 | 872 | | |
869 | 873 | | |
870 | 874 | | |
871 | 875 | | |
872 | 876 | | |
873 | 877 | | |
| 878 | + | |
| 879 | + | |
874 | 880 | | |
875 | 881 | | |
876 | 882 | | |
| |||
882 | 888 | | |
883 | 889 | | |
884 | 890 | | |
| 891 | + | |
885 | 892 | | |
886 | 893 | | |
887 | 894 | | |
| |||
891 | 898 | | |
892 | 899 | | |
893 | 900 | | |
894 | | - | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
895 | 908 | | |
896 | 909 | | |
897 | 910 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments