diff options
author | Jonathan L Peyton <jonathan.l.peyton@intel.com> | 2015-11-24 12:19:19 +0100 |
---|---|---|
committer | Peter Rosin <peda@lysator.liu.se> | 2015-11-24 12:25:48 +0100 |
commit | c40e27e1c2a60f58e72e65d73d808f782d55494a (patch) | |
tree | a1e08f7ff581189f94f828e125d84cf364603f40 /t/ax/am-test-lib.sh | |
parent | 1768e836d428082334a07f710b85073d2ab82969 (diff) | |
download | automake-c40e27e1c2a60f58e72e65d73d808f782d55494a.tar.gz |
compile: add icl to compile wrapper script
* lib/compile: Have icl be treated similarly to cl
(scriptversion): Update.
* t/ax/am-test-lib.sh (require_tool): Handle icl.
* t/compile7.sh: Add new test file for icl...
* t/list-of-tests.mk (handwritten_TESTS): ...and use it.
* NEWS: Update.
* THANKS: Update.
Copyright-paperwork-exempt: yes
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Diffstat (limited to 't/ax/am-test-lib.sh')
-rw-r--r-- | t/ax/am-test-lib.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/t/ax/am-test-lib.sh b/t/ax/am-test-lib.sh index 35541c323..529d93bcd 100644 --- a/t/ax/am-test-lib.sh +++ b/t/ax/am-test-lib.sh @@ -779,6 +779,17 @@ require_tool () $CC -? </dev/null \ || skip_all_ "Microsoft C compiler '$CC' not available" ;; + icl) + CC=icl + # Don't export CFLAGS, as that could have been initialized to only + # work with the C compiler detected at configure time. If the user + # wants CFLAGS to also influence 'icl', he can still export CFLAGS + # in the environment "by hand" before calling the testsuite. + export CC CPPFLAGS + echo "$me: running $CC -?" + $CC -? >/dev/null \ + || skip_all_ "Intel C compiler '$CC' not available" + ;; etags) # Exuberant Ctags will create a TAGS file even # when asked for --help or --version. (Emacs's etags |