Removed vs nomod test because it fails at compile time but the framework needs it to fail at configure time.

pull/582/head
Jussi Pakkanen 9 years ago
parent f17b76e8de
commit de73d85ad8
  1. 9
      test cases/failing/28 no vs module defs/meson.build
  2. 5
      test cases/failing/28 no vs module defs/prog.c
  3. 1
      test cases/failing/28 no vs module defs/subdir/meson.build
  4. 7
      test cases/failing/28 no vs module defs/subdir/somedll.c

@ -1,9 +0,0 @@
project('dll_no_module_def', 'c')
if meson.get_compiler('c').get_id() != 'msvc'
error('Need to use the Visual Studio compiler')
endif
subdir('subdir')
exe = executable('prog', 'prog.c', link_with : shlib)
test('runtest', exe)

@ -1,5 +0,0 @@
int somedllfunc();
int main(int argc, char **argv) {
return somedllfunc() == 42 ? 0 : 1;
}

@ -1 +0,0 @@
shlib = shared_library('somedll', 'somedll.c')

@ -1,7 +0,0 @@
/* With MSVC, the DLL created from this will not export any symbols
* without a module definitions file specified while linking */
#ifdef _MSC_VER
int somedllfunc() {
return 42;
}
#endif
Loading…
Cancel
Save