13 lines
607 B
CMake
13 lines
607 B
CMake
SET(ENV{STASIS_DIR} ${CMAKE_HOME_DIRECTORY})
|
|
MACRO(CREATE_CHECK_PERL NAME)
|
|
ADD_TEST(${NAME} perl -I ${CMAKE_HOME_DIRECTORY}/lang/perl ${CMAKE_CURRENT_SOURCE_DIR}/${NAME} --automated-test)
|
|
ENDMACRO(CREATE_CHECK_PERL)
|
|
|
|
MACRO(CREATE_CHECK_PERL_OPT NAME OPT)
|
|
ADD_TEST(${NAME} perl -I ${CMAKE_HOME_DIRECTORY}/lang/perl ${CMAKE_CURRENT_SOURCE_DIR}/${NAME} --automated-test ${OPT})
|
|
ENDMACRO(CREATE_CHECK_PERL_OPT)
|
|
|
|
CREATE_CHECK_PERL(t/01-boostrap.t)
|
|
CREATE_CHECK_PERL_OPT(t/02-hash.t ${CMAKE_CURRENT_SOURCE_DIR}/t/02-hash.script)
|
|
CREATE_CHECK_PERL(t/03-hash-iterator.t)
|
|
CREATE_CHECK_PERL(t/04-hash-in-hash.t)
|