|
|
@@ -32,7 +32,7 @@ set(targets
|
|
|
linux_nostdinc-C-XL-12.1.0 linux_nostdinc-CXX-XL-12.1.0
|
|
|
linux_nostdinc_i-C-XL-12.1.0 linux_nostdinc-CXX-XL-12.1.0
|
|
|
linux-C-XL-16.1.0.0 linux-CXX-XL-16.1.0.0
|
|
|
- linux-CUDA-NVIDIA-9.2.148
|
|
|
+ linux-CUDA-NVIDIA-9.2.148-GCC
|
|
|
mingw.org-C-GNU-4.9.3 mingw.org-CXX-GNU-4.9.3
|
|
|
netbsd-C-GNU-4.8.5 netbsd-CXX-GNU-4.8.5
|
|
|
netbsd_nostdinc-C-GNU-4.8.5 netbsd_nostdinc-CXX-GNU-4.8.5
|
|
|
@@ -97,12 +97,16 @@ endfunction()
|
|
|
# main test loop
|
|
|
#
|
|
|
foreach(t ${targets})
|
|
|
- set(infile "${CMAKE_SOURCE_DIR}/data/${t}.input")
|
|
|
- set(outfile "${CMAKE_SOURCE_DIR}/data/${t}.output")
|
|
|
- if (NOT EXISTS ${infile} OR NOT EXISTS ${outfile})
|
|
|
- message("missing files for target ${t} in ${CMAKE_SOURCE_DIR}/data")
|
|
|
+ set(infile "${CMAKE_SOURCE_DIR}/../ParseImplicitData/${t}.input")
|
|
|
+ set(outfile "${CMAKE_SOURCE_DIR}/results/${t}.output")
|
|
|
+ if (NOT EXISTS ${infile})
|
|
|
+ message("missing input file for target ${t} in ${CMAKE_SOURCE_DIR}/../ParseImplicitData/")
|
|
|
+ continue()
|
|
|
+ elseif(NOT EXISTS ${outfile})
|
|
|
+ message("missing files for target ${t} in ${CMAKE_SOURCE_DIR}/results/")
|
|
|
continue()
|
|
|
endif()
|
|
|
+
|
|
|
load_compiler_info(${infile} lang cmvars input)
|
|
|
file(READ ${outfile} output)
|
|
|
string(STRIP "${output}" output)
|
|
|
@@ -112,6 +116,7 @@ foreach(t ${targets})
|
|
|
message("empty parse failed: ${idirs}, log=${log}")
|
|
|
endif()
|
|
|
elseif(NOT "${state}" STREQUAL "done" OR NOT "${idirs}" MATCHES "^${output}$")
|
|
|
+ message(${t})
|
|
|
message("parse failed: state=${state}, '${idirs}' does not match '^${output}$', log=${log}")
|
|
|
endif()
|
|
|
unload_compiler_info("${cmvars}")
|