diff options
Diffstat (limited to 'tests/manifest')
-rw-r--r-- | tests/manifest/task.testscript | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/manifest/task.testscript b/tests/manifest/task.testscript index 8b27f04..65ecd29 100644 --- a/tests/manifest/task.testscript +++ b/tests/manifest/task.testscript @@ -17,6 +17,8 @@ test.options += -t repository-url: http://pkg.example.org/1/math trust: AB:0D:3F:C1:B0:13:E4:0E:AD:4A:08:06:AE:F3:85:DB:E2:27:5F:83:11:47:A2:7\ 8:64:3C:73:60:F8:66:3A:A4 + test-exclude: libfoo-tests/1.0 + test-exclude: libfoo-examples/1.0 machine: windows_10-msvc_14 target: x86_64-microsoft-win32-msvc14.0 environment: lld @@ -222,6 +224,37 @@ test.options += -t EOE } + : test-exclude + : + { + : invalid-name + : + $* <<EOI 2>>EOE == 1 + : 1 + test-exclude: 0ibfoo-tests/1.0 + EOI + stdin:2:15: error: invalid test exclusion package name: illegal first character (must be alphabetic) + EOE + + : no-version + : + $* <<EOI 2>>EOE == 1 + : 1 + test-exclude: libfoo-tests + EOI + stdin:2:15: error: invalid test exclusion package: '/' is expected + EOE + + : invalid-version + : + $* <<EOI 2>>EOE == 1 + : 1 + test-exclude: libfoo-tests/+1 + EOI + stdin:2:15: error: invalid test exclusion package version: unexpected end + EOE + } + : machine-empty : $* <<EOI 2>'stdin:2:9: error: empty task machine' == 1 |