You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix Geyer 80652e0087
New upstream version 3.15.4
5 years ago
..
CMakeLists.txt New upstream version 3.15.4 5 years ago
README New upstream version 3.15.4 5 years ago
aix-C-XL-13.1.3.input New upstream version 3.15.4 5 years ago
aix-C-XL-13.1.3.output New upstream version 3.15.4 5 years ago
aix-C-XLClang-16.1.0.1.input New upstream version 3.15.4 5 years ago
aix-C-XLClang-16.1.0.1.output New upstream version 3.15.4 5 years ago
aix-CXX-XL-13.1.3.input New upstream version 3.15.4 5 years ago
aix-CXX-XL-13.1.3.output New upstream version 3.15.4 5 years ago
aix-CXX-XLClang-16.1.0.1.input New upstream version 3.15.4 5 years ago
aix-CXX-XLClang-16.1.0.1.output New upstream version 3.15.4 5 years ago
craype-C-Cray-8.7.input New upstream version 3.15.4 5 years ago
craype-C-Cray-8.7.output New upstream version 3.15.4 5 years ago
craype-C-Cray-9.0-hlist-ad.input New upstream version 3.15.4 5 years ago
craype-C-Cray-9.0-hlist-ad.output New upstream version 3.15.4 5 years ago
craype-C-GNU-7.3.0.input New upstream version 3.15.4 5 years ago
craype-C-GNU-7.3.0.output New upstream version 3.15.4 5 years ago
craype-C-Intel-18.0.2.20180210.input New upstream version 3.15.4 5 years ago
craype-C-Intel-18.0.2.20180210.output New upstream version 3.15.4 5 years ago
craype-CXX-Cray-8.7.input New upstream version 3.15.4 5 years ago
craype-CXX-Cray-8.7.output New upstream version 3.15.4 5 years ago
craype-CXX-Cray-9.0-hlist-ad.input New upstream version 3.15.4 5 years ago
craype-CXX-Cray-9.0-hlist-ad.output New upstream version 3.15.4 5 years ago
craype-CXX-GNU-7.3.0.input New upstream version 3.15.4 5 years ago
craype-CXX-GNU-7.3.0.output New upstream version 3.15.4 5 years ago
craype-CXX-Intel-18.0.2.20180210.input New upstream version 3.15.4 5 years ago
craype-CXX-Intel-18.0.2.20180210.output New upstream version 3.15.4 5 years ago
craype-Fortran-Cray-8.7.input New upstream version 3.15.4 5 years ago
craype-Fortran-Cray-8.7.output New upstream version 3.15.4 5 years ago
craype-Fortran-Cray-9.0-hlist-ad.input New upstream version 3.15.4 5 years ago
craype-Fortran-Cray-9.0-hlist-ad.output New upstream version 3.15.4 5 years ago
craype-Fortran-GNU-7.3.0.input New upstream version 3.15.4 5 years ago
craype-Fortran-GNU-7.3.0.output New upstream version 3.15.4 5 years ago
craype-Fortran-Intel-18.0.2.20180210.input New upstream version 3.15.4 5 years ago
craype-Fortran-Intel-18.0.2.20180210.output New upstream version 3.15.4 5 years ago
darwin-C-AppleClang-8.0.0.8000042.input New upstream version 3.15.4 5 years ago
darwin-C-AppleClang-8.0.0.8000042.output New upstream version 3.15.4 5 years ago
darwin-CXX-AppleClang-8.0.0.8000042.input New upstream version 3.15.4 5 years ago
darwin-CXX-AppleClang-8.0.0.8000042.output New upstream version 3.15.4 5 years ago
darwin_nostdinc-C-AppleClang-8.0.0.8000042.input New upstream version 3.15.4 5 years ago
darwin_nostdinc-C-AppleClang-8.0.0.8000042.output New upstream version 3.15.4 5 years ago
darwin_nostdinc-CXX-AppleClang-8.0.0.8000042.input New upstream version 3.15.4 5 years ago
darwin_nostdinc-CXX-AppleClang-8.0.0.8000042.output New upstream version 3.15.4 5 years ago
freebsd-C-Clang-3.3.0.input New upstream version 3.15.4 5 years ago
freebsd-C-Clang-3.3.0.output New upstream version 3.15.4 5 years ago
freebsd-CXX-Clang-3.3.0.input New upstream version 3.15.4 5 years ago
freebsd-CXX-Clang-3.3.0.output New upstream version 3.15.4 5 years ago
freebsd-Fortran-GNU-4.6.4.input New upstream version 3.15.4 5 years ago
freebsd-Fortran-GNU-4.6.4.output New upstream version 3.15.4 5 years ago
hand-C-empty.input New upstream version 3.15.4 5 years ago
hand-C-empty.output New upstream version 3.15.4 5 years ago
hand-C-relative.input New upstream version 3.15.4 5 years ago
hand-C-relative.output New upstream version 3.15.4 5 years ago
hand-CXX-empty.input New upstream version 3.15.4 5 years ago
hand-CXX-empty.output New upstream version 3.15.4 5 years ago
hand-CXX-relative.input New upstream version 3.15.4 5 years ago
hand-CXX-relative.output New upstream version 3.15.4 5 years ago
linux-C-GNU-7.3.0.input New upstream version 3.15.4 5 years ago
linux-C-GNU-7.3.0.output New upstream version 3.15.4 5 years ago
linux-C-Intel-18.0.0.20170811.input New upstream version 3.15.4 5 years ago
linux-C-Intel-18.0.0.20170811.output New upstream version 3.15.4 5 years ago
linux-C-PGI-18.10.1.input New upstream version 3.15.4 5 years ago
linux-C-PGI-18.10.1.output New upstream version 3.15.4 5 years ago
linux-C-XL-12.1.0.input New upstream version 3.15.4 5 years ago
linux-C-XL-12.1.0.output New upstream version 3.15.4 5 years ago
linux-C-XL-16.1.0.0.input New upstream version 3.15.4 5 years ago
linux-C-XL-16.1.0.0.output New upstream version 3.15.4 5 years ago
linux-CUDA-NVIDIA-9.2.148.input New upstream version 3.15.4 5 years ago
linux-CUDA-NVIDIA-9.2.148.output New upstream version 3.15.4 5 years ago
linux-CXX-GNU-7.3.0.input New upstream version 3.15.4 5 years ago
linux-CXX-GNU-7.3.0.output New upstream version 3.15.4 5 years ago
linux-CXX-Intel-18.0.0.20170811.input New upstream version 3.15.4 5 years ago
linux-CXX-Intel-18.0.0.20170811.output New upstream version 3.15.4 5 years ago
linux-CXX-PGI-18.10.1.input New upstream version 3.15.4 5 years ago
linux-CXX-PGI-18.10.1.output New upstream version 3.15.4 5 years ago
linux-CXX-XL-12.1.0.input New upstream version 3.15.4 5 years ago
linux-CXX-XL-12.1.0.output New upstream version 3.15.4 5 years ago
linux-CXX-XL-16.1.0.0.input New upstream version 3.15.4 5 years ago
linux-CXX-XL-16.1.0.0.output New upstream version 3.15.4 5 years ago
linux-Fortran-GNU-7.3.0.input New upstream version 3.15.4 5 years ago
linux-Fortran-GNU-7.3.0.output New upstream version 3.15.4 5 years ago
linux-Fortran-PGI-18.10.1.input New upstream version 3.15.4 5 years ago
linux-Fortran-PGI-18.10.1.output New upstream version 3.15.4 5 years ago
linux-Fortran-XL-14.1.0.input New upstream version 3.15.4 5 years ago
linux-Fortran-XL-14.1.0.output New upstream version 3.15.4 5 years ago
linux_nostdinc-C-PGI-18.10.1.input New upstream version 3.15.4 5 years ago
linux_nostdinc-C-PGI-18.10.1.output New upstream version 3.15.4 5 years ago
linux_nostdinc-C-XL-12.1.0.input New upstream version 3.15.4 5 years ago
linux_nostdinc-C-XL-12.1.0.output New upstream version 3.15.4 5 years ago
linux_nostdinc-CXX-PGI-18.10.1.input New upstream version 3.15.4 5 years ago
linux_nostdinc-CXX-PGI-18.10.1.output New upstream version 3.15.4 5 years ago
linux_nostdinc-CXX-XL-12.1.0.input New upstream version 3.15.4 5 years ago
linux_nostdinc-CXX-XL-12.1.0.output New upstream version 3.15.4 5 years ago
linux_nostdinc-Fortran-PGI-18.10.1.input New upstream version 3.15.4 5 years ago
linux_nostdinc-Fortran-PGI-18.10.1.output New upstream version 3.15.4 5 years ago
linux_nostdinc_i-C-XL-12.1.0.input New upstream version 3.15.4 5 years ago
linux_nostdinc_i-C-XL-12.1.0.output New upstream version 3.15.4 5 years ago
linux_nostdinc_i-CXX-XL-12.1.0.input New upstream version 3.15.4 5 years ago
linux_nostdinc_i-CXX-XL-12.1.0.output New upstream version 3.15.4 5 years ago
linux_pgf77-Fortran-PGI-18.10.1.input New upstream version 3.15.4 5 years ago
linux_pgf77-Fortran-PGI-18.10.1.output New upstream version 3.15.4 5 years ago
mingw.org-C-GNU-4.9.3.input New upstream version 3.15.4 5 years ago
mingw.org-C-GNU-4.9.3.output New upstream version 3.15.4 5 years ago
mingw.org-CXX-GNU-4.9.3.input New upstream version 3.15.4 5 years ago
mingw.org-CXX-GNU-4.9.3.output New upstream version 3.15.4 5 years ago
netbsd-C-GNU-4.8.5.input New upstream version 3.15.4 5 years ago
netbsd-C-GNU-4.8.5.output New upstream version 3.15.4 5 years ago
netbsd-CXX-GNU-4.8.5.input New upstream version 3.15.4 5 years ago
netbsd-CXX-GNU-4.8.5.output New upstream version 3.15.4 5 years ago
netbsd_nostdinc-C-GNU-4.8.5.input New upstream version 3.15.4 5 years ago
netbsd_nostdinc-C-GNU-4.8.5.output New upstream version 3.15.4 5 years ago
netbsd_nostdinc-CXX-GNU-4.8.5.input New upstream version 3.15.4 5 years ago
netbsd_nostdinc-CXX-GNU-4.8.5.output New upstream version 3.15.4 5 years ago
openbsd-C-Clang-5.0.1.input New upstream version 3.15.4 5 years ago
openbsd-C-Clang-5.0.1.output New upstream version 3.15.4 5 years ago
openbsd-CXX-Clang-5.0.1.input New upstream version 3.15.4 5 years ago
openbsd-CXX-Clang-5.0.1.output New upstream version 3.15.4 5 years ago
sunos-C-SunPro-5.13.0.input New upstream version 3.15.4 5 years ago
sunos-C-SunPro-5.13.0.output New upstream version 3.15.4 5 years ago
sunos-CXX-SunPro-5.13.0.input New upstream version 3.15.4 5 years ago
sunos-CXX-SunPro-5.13.0.output New upstream version 3.15.4 5 years ago
sunos-Fortran-SunPro-8.8.0.input New upstream version 3.15.4 5 years ago
sunos-Fortran-SunPro-8.8.0.output New upstream version 3.15.4 5 years ago

README

This directory contains sample input files for the implicit include
directories parser for testing. For each configuration there is one
".input" file and one ".output" file.

To generate ".input" files for a system, create a temporary build
directory and chdir to it. Then run cmake pointing to this directory.
The CMakeLists.txt file here will generate ".input" files in your
build directory. The default set of languages is C and CXX. This
can be changed with -DLANGUAGES=language_list. For example:
-DLANGUAGES=Fortran will generate Fortran parser input.

The ".output" files should be generated by hand from the input files.
The test will compare the parser output to the manually generated
".output" file. The two should match.

For compilers that support "-nostdinc"-like flags, you can generate
a test for this with a command like:
cmake -DUNAME=netbsd_nostdinc \
-DCMAKE_C_FLAGS=-nostdinc -DCMAKE_CXX_FLAGS=-nostdinc .

Here is an example for testing the XL compiler with both -I and nostdinc:

env CC=xlc CXX=xlC cmake -DUNAME=linux_nostdinc_i \
-DCMAKE_C_FLAGS='-qnostdinc -I/tmp/ii/test_c' \
-DCMAKE_CXX_FLAGS='-qnostdinc -I/tmp/ii/test_c -I/tmp/ii/test_cxx' .