Add patch 2006 to disable wasm32 tests.
authorVasudev Kamath <vasudev@copyninja.info>
Tue, 5 Dec 2017 15:10:00 +0000 (20:40 +0530)
committerVasudev Kamath <vasudev@copyninja.info>
Tue, 5 Dec 2017 15:10:00 +0000 (20:40 +0530)
debian/patches/2006_disable_wasm32_tests.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/2006_disable_wasm32_tests.patch b/debian/patches/2006_disable_wasm32_tests.patch
new file mode 100644 (file)
index 0000000..dcd3160
--- /dev/null
@@ -0,0 +1,16 @@
+Description: Disable wasm32_final_outputs test
+ This test depends on emscripten built using fastcomp
+ a fork of LLVM and is not avaialble in Debian.
+Author: Vasudev Kamath <vasudev@copyninja.info>
+Last-Update: 2017-12-05
+
+--- cargo-0.23.0.orig/tests/build.rs
++++ cargo-0.23.0/tests/build.rs
+@@ -3479,7 +3479,6 @@ fn cdylib_final_outputs() {
+     }
+ }
+-#[test]
+ fn wasm32_final_outputs() {
+     use cargo::core::{Shell, Target, Workspace};
+     use cargo::ops::{self, BuildConfig, Context, CompileMode, CompileOptions, Kind, Unit};
index b2dc012d0cdf43636d579bc93de463400e7c2251..7e0bb0a1514b9ffd0ac554bfea58ea7717d62a57 100644 (file)
@@ -4,3 +4,4 @@
 2002_disable-net-tests.patch
 1002_fix_typo_cargo_search.patch
 2005_dont_run_mdbook.patch
+2006_disable_wasm32_tests.patch