blob: 91d51f3090b1463db6c6d4e57e18b6d8536c08ac [file] [log] [blame]
# iOS compiler have -Werror=return-value, need to disable this explicitely
# (-w is not enough)
list(APPEND CFLAGS -Wno-return-type)
macro(test_input run_type input output)
llvm_test_run(RUN_TYPE ${run_type}
WORKDIR ${CMAKE_CURRENT_BINARY_DIR}
< data/${run_type}/input/${input} > ${output}
)
llvm_test_verify(RUN_TYPE ${run_type} WORKDIR ${CMAKE_CURRENT_BINARY_DIR}
${FPCMP} data/${run_type}/output/${output} ${output}
)
endmacro()
test_input(test test.in test.out)
test_input(train test.in test.out)
test_input(ref bigtest.in bigtest.out)
llvm_test_executable(129.compress ${Source})
llvm_test_data_spec_default(129.compress)