summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/xlc/detection_test.yaml18
-rw-r--r--var/spack/repos/builtin/packages/xlf/detection_test.yaml11
2 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/xlc/detection_test.yaml b/var/spack/repos/builtin/packages/xlc/detection_test.yaml
new file mode 100644
index 0000000000..e76c608aba
--- /dev/null
+++ b/var/spack/repos/builtin/packages/xlc/detection_test.yaml
@@ -0,0 +1,18 @@
+paths:
+ - layout:
+ - executables:
+ - "bin/xlc"
+ - "bin/xlc++"
+ - "bin/xlc_r"
+ - "bin/xlc++_r"
+ script: |
+ echo "IBM XL C/C++ for Linux, V16.1.1 (5725-C73, 5765-J13)"
+ echo "Version: 16.01.0001.0006"
+ - executables:
+ - "bin/xlcuf"
+ script: |
+ echo "IBM XL Fortran for Linux, V16.1.1 (5725-C73, 5765-J13)"
+ echo "Version: 16.01.0001.0006"
+ results:
+ - spec: "xlc+r@16.1"
+ - spec: "xlc~r@16.1"
diff --git a/var/spack/repos/builtin/packages/xlf/detection_test.yaml b/var/spack/repos/builtin/packages/xlf/detection_test.yaml
new file mode 100644
index 0000000000..461ef007d7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/xlf/detection_test.yaml
@@ -0,0 +1,11 @@
+paths:
+ - layout:
+ - executables:
+ - "bin/xlf"
+ - "bin/xlf_r"
+ script: |
+ echo "IBM XL Fortran for Linux, V16.1.1 (5725-C73, 5765-J13)"
+ echo "Version: 16.01.0001.0006"
+ results:
+ - spec: "xlf+r@16.1"
+ - spec: "xlf~r@16.1"