summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-06-22 10:06:50 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2014-06-22 12:50:35 -0700
commitc091c6d4123a08f35e5a1c270806df190bb18ce9 (patch)
tree0b892d37ab1c7eedc7642c89bc4d1f6c1615cf3d /var
parentc256d5d1ac15a5c04788461c646e3350a7882b5e (diff)
downloadspack-c091c6d4123a08f35e5a1c270806df190bb18ce9.tar.gz
spack-c091c6d4123a08f35e5a1c270806df190bb18ce9.tar.bz2
spack-c091c6d4123a08f35e5a1c270806df190bb18ce9.tar.xz
spack-c091c6d4123a08f35e5a1c270806df190bb18ce9.zip
Make tests use mock compiler configuration.
- makes sure tests don't fail on systems that don't have some compilers (e.g. clang). - more control over specific test cases for compilers.
Diffstat (limited to 'var')
-rw-r--r--var/spack/mock_configs/site_spackconfig12
-rw-r--r--var/spack/mock_configs/user_spackconfig0
2 files changed, 12 insertions, 0 deletions
diff --git a/var/spack/mock_configs/site_spackconfig b/var/spack/mock_configs/site_spackconfig
new file mode 100644
index 0000000000..1358720362
--- /dev/null
+++ b/var/spack/mock_configs/site_spackconfig
@@ -0,0 +1,12 @@
+[compiler "gcc@4.5.0"]
+ cc = /path/to/gcc
+ cxx = /path/to/g++
+ f77 = /path/to/gfortran
+ fc = /path/to/gfortran
+
+[compiler "clang@3.3"]
+ cc = /path/to/clang
+ cxx = /path/to/clang++
+ f77 = None
+ fc = None
+
diff --git a/var/spack/mock_configs/user_spackconfig b/var/spack/mock_configs/user_spackconfig
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/var/spack/mock_configs/user_spackconfig