testsuite: adapt the testsuite for stdcall removal
This patch adjusts test cases to handle the stdcall removal: - Some stdcall usages are replaced with ccall since stdcall doesn't make sense anymore. - We also preserve some stdcall usages, and check in the expected warning messages to ensure GHC always warn about stdcall usages (-Wunsupported-calling-conventions) as expected. - Error code testsuite coverage is slightly improved, -Wunsupported-calling-conventions is now tested. - Obsolete code paths related to i386 windows are also removed.
Showing
- testsuite/tests/concurrent/should_run/T5611.hs 1 addition, 1 deletiontestsuite/tests/concurrent/should_run/T5611.hs
- testsuite/tests/concurrent/should_run/T5611a.hs 1 addition, 1 deletiontestsuite/tests/concurrent/should_run/T5611a.hs
- testsuite/tests/concurrent/should_run/conc036.hs 1 addition, 1 deletiontestsuite/tests/concurrent/should_run/conc036.hs
- testsuite/tests/concurrent/should_run/conc037.hs 1 addition, 2 deletionstestsuite/tests/concurrent/should_run/conc037.hs
- testsuite/tests/concurrent/should_run/conc038.hs 1 addition, 2 deletionstestsuite/tests/concurrent/should_run/conc038.hs
- testsuite/tests/concurrent/should_run/foreignInterruptible.hs 1 addition, 1 deletion...suite/tests/concurrent/should_run/foreignInterruptible.hs
- testsuite/tests/diagnostic-codes/codes.stdout 0 additions, 3 deletionstestsuite/tests/diagnostic-codes/codes.stdout
- testsuite/tests/ffi/should_compile/all.T 1 addition, 7 deletionstestsuite/tests/ffi/should_compile/all.T
- testsuite/tests/ffi/should_compile/cc004.hs 0 additions, 7 deletionstestsuite/tests/ffi/should_compile/cc004.hs
- testsuite/tests/ffi/should_run/T1288.hs 1 addition, 1 deletiontestsuite/tests/ffi/should_run/T1288.hs
- testsuite/tests/ffi/should_run/T1288_c.c 1 addition, 1 deletiontestsuite/tests/ffi/should_run/T1288_c.c
- testsuite/tests/ffi/should_run/T1288_ghci.hs 1 addition, 1 deletiontestsuite/tests/ffi/should_run/T1288_ghci.hs
- testsuite/tests/ffi/should_run/T1288_ghci_c.c 1 addition, 1 deletiontestsuite/tests/ffi/should_run/T1288_ghci_c.c
- testsuite/tests/ffi/should_run/T22159.hs 1 addition, 9 deletionstestsuite/tests/ffi/should_run/T22159.hs
- testsuite/tests/ffi/should_run/T2276.hs 2 additions, 2 deletionstestsuite/tests/ffi/should_run/T2276.hs
- testsuite/tests/ffi/should_run/T2276_c.c 1 addition, 1 deletiontestsuite/tests/ffi/should_run/T2276_c.c
- testsuite/tests/ffi/should_run/T2276_ghci.hs 2 additions, 2 deletionstestsuite/tests/ffi/should_run/T2276_ghci.hs
- testsuite/tests/ffi/should_run/T2276_ghci_c.c 1 addition, 1 deletiontestsuite/tests/ffi/should_run/T2276_ghci_c.c
- testsuite/tests/ffi/should_run/all.T 1 addition, 11 deletionstestsuite/tests/ffi/should_run/all.T
- testsuite/tests/ffi/should_run/ffi012.ghc.stderr 52 additions, 0 deletionstestsuite/tests/ffi/should_run/ffi012.ghc.stderr
Loading
Please register or sign in to comment