Rust: Remove unit test already covered in "rust/4 polyglot"

pull/12276/head
Xavier Claessens 2 years ago committed by Xavier Claessens
parent 10dcd87d00
commit bdf1f3c0e2
  1. 0
      test cases/failing/53 wrong shared crate type/foo.rs
  2. 7
      test cases/failing/53 wrong shared crate type/meson.build
  3. 7
      test cases/failing/53 wrong shared crate type/test.json
  4. 0
      test cases/failing/54 wrong static crate type/foo.rs
  5. 7
      test cases/failing/54 wrong static crate type/meson.build
  6. 7
      test cases/failing/54 wrong static crate type/test.json

@ -1,7 +0,0 @@
project('test')
if not add_languages('rust', required: false)
error('MESON_SKIP_TEST test requires rust compiler')
endif
shared_library('mytest', 'foo.rs', rust_crate_type : 'staticlib')

@ -1,7 +0,0 @@
{
"stdout": [
{
"line": "test cases/failing/53 wrong shared crate type/meson.build:7:0: ERROR: Crate type \"staticlib\" invalid for dynamic libraries; must be \"dylib\", \"cdylib\", or \"proc-macro\""
}
]
}

@ -1,7 +0,0 @@
project('test')
if not add_languages('rust', required: false)
error('MESON_SKIP_TEST test requires rust compiler')
endif
static_library('mytest', 'foo.rs', rust_crate_type : 'cdylib')

@ -1,7 +0,0 @@
{
"stdout": [
{
"line": "test cases/failing/54 wrong static crate type/meson.build:7:0: ERROR: Crate type \"cdylib\" invalid for static libraries; must be \"rlib\" or \"staticlib\""
}
]
}
Loading…
Cancel
Save