diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2014-06-22 10:06:50 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-06-22 12:50:35 -0700 |
commit | c091c6d4123a08f35e5a1c270806df190bb18ce9 (patch) | |
tree | 0b892d37ab1c7eedc7642c89bc4d1f6c1615cf3d /var | |
parent | c256d5d1ac15a5c04788461c646e3350a7882b5e (diff) | |
download | spack-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_spackconfig | 12 | ||||
-rw-r--r-- | var/spack/mock_configs/user_spackconfig | 0 |
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 |