summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/test/wasm/target-feature-disallowed.yaml6
-rw-r--r--lld/test/wasm/target-feature-required.yaml7
-rw-r--r--lld/test/wasm/target-feature-used.yaml11
3 files changed, 15 insertions, 9 deletions
diff --git a/lld/test/wasm/target-feature-disallowed.yaml b/lld/test/wasm/target-feature-disallowed.yaml
index 9a94f0d1f10..687d86b40d6 100644
--- a/lld/test/wasm/target-feature-disallowed.yaml
+++ b/lld/test/wasm/target-feature-disallowed.yaml
@@ -1,10 +1,12 @@
# RUN: yaml2obj %s -o %t1.o
# RUN: yaml2obj %S/Inputs/disallow-feature-foo.yaml -o %t.disallowed.o
-# RUN: wasm-ld --no-entry -o - %t1.o %t.disallowed.o | obj2yaml | FileCheck %s --check-prefix DISALLOWED
+# RUN: wasm-ld --no-entry -o %t.disallowed.exe %t1.o %t.disallowed.o
+# RUN: obj2yaml < %t.disallowed.exe | FileCheck %s --check-prefix DISALLOWED
# RUN: yaml2obj %S/Inputs/no-feature-foo.yaml -o %t.none.o
-# RUN: wasm-ld --no-entry -o - %t1.o %t.none.o | obj2yaml | FileCheck %s --check-prefix NONE
+# RUN: wasm-ld --no-entry -o %t.none.exe %t1.o %t.none.o
+# RUN: obj2yaml < %t.none.exe | FileCheck %s --check-prefix NONE
# Check that the following combinations of feature linkage policies
# give the expected results:
diff --git a/lld/test/wasm/target-feature-required.yaml b/lld/test/wasm/target-feature-required.yaml
index 68df45c194a..59031d4c013 100644
--- a/lld/test/wasm/target-feature-required.yaml
+++ b/lld/test/wasm/target-feature-required.yaml
@@ -1,13 +1,14 @@
# RUN: yaml2obj %s -o %t1.o
# RUN: yaml2obj %S/Inputs/require-feature-foo.yaml -o %t.required.o
-# RUN: wasm-ld --no-entry -o - %t1.o %t.required.o | obj2yaml | FileCheck %s --check-prefix REQUIRED
+# RUN: wasm-ld --no-entry -o %t.required.exe %t1.o %t.required.o
+# RUN: obj2yaml < %t.required.exe | FileCheck %s --check-prefix REQUIRED
# RUN: yaml2obj %S/Inputs/disallow-feature-foo.yaml -o %t.disallowed.o
-# RUN: not wasm-ld --no-entry -o - %t1.o %t.disallowed.o 2>&1 | FileCheck %s --check-prefix DISALLOWED
+# RUN: not wasm-ld --no-entry -o /dev/null %t1.o %t.disallowed.o 2>&1 | FileCheck %s --check-prefix DISALLOWED
# RUN: yaml2obj %S/Inputs/no-feature-foo.yaml -o %t.none.o
-# RUN: not wasm-ld --no-entry -o - %t1.o %t.none.o 2>&1 | FileCheck %s --check-prefix NONE
+# RUN: not wasm-ld --no-entry -o /dev/null %t1.o %t.none.o 2>&1 | FileCheck %s --check-prefix NONE
# Check that the following combinations of feature linkage policies
# give the expected results:
diff --git a/lld/test/wasm/target-feature-used.yaml b/lld/test/wasm/target-feature-used.yaml
index 6a353991f54..de121ff7704 100644
--- a/lld/test/wasm/target-feature-used.yaml
+++ b/lld/test/wasm/target-feature-used.yaml
@@ -1,16 +1,19 @@
# RUN: yaml2obj %s -o %t1.o
# RUN: yaml2obj %S/Inputs/use-feature-foo.yaml -o %t.used.o
-# RUN: wasm-ld --no-entry -o - %t1.o %t.used.o | obj2yaml | FileCheck %s --check-prefix USED
+# RUN: wasm-ld --no-entry -o %t.used.exe %t1.o %t.used.o
+# RUN: obj2yaml < %t.used.exe | FileCheck %s --check-prefix USED
# RUN: yaml2obj %S/Inputs/require-feature-foo.yaml -o %t.required.o
-# RUN: wasm-ld --no-entry -o - %t1.o %t.required.o | obj2yaml | FileCheck %s --check-prefix REQUIRED
+# RUN: wasm-ld --no-entry -o %t.required.exe %t1.o %t.required.o
+# RUN: obj2yaml < %t.required.exe | FileCheck %s --check-prefix REQUIRED
# RUN: yaml2obj %S/Inputs/disallow-feature-foo.yaml -o %t.disallowed.o
-# RUN: not wasm-ld --no-entry -o - %t1.o %t.disallowed.o 2>&1 | FileCheck %s --check-prefix DISALLOWED
+# RUN: not wasm-ld --no-entry -o /dev/null %t1.o %t.disallowed.o 2>&1 | FileCheck %s --check-prefix DISALLOWED
# RUN: yaml2obj %S/Inputs/no-feature-foo.yaml -o %t.none.o
-# RUN: wasm-ld --no-entry -o - %t1.o %t.none.o | obj2yaml | FileCheck %s --check-prefix NONE
+# RUN: wasm-ld --no-entry -o %t.none.exe %t1.o %t.none.o
+# RUN: obj2yaml %t.none.exe | FileCheck %s --check-prefix NONE
# Check that the following combinations of feature linkage policies
# give the expected results:
OpenPOWER on IntegriCloud