From d31aef689abfc9eaa5853ed18d7b480c2b55963b Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Sun, 20 Jan 2013 20:36:42 -0500 Subject: [PATCH] CMake export tests now correctly check return code --- development/autotests/export.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/autotests/export.cmake b/development/autotests/export.cmake index bcdcb3a39c..518886b6b9 100755 --- a/development/autotests/export.cmake +++ b/development/autotests/export.cmake @@ -25,7 +25,7 @@ execute_process( COMMAND ${lyx} -E ${format} ${file}.${extension} "${LYX_ROOT}/${file}.lyx" RESULT_VARIABLE _err) string(COMPARE NOTEQUAL ${_err} 0 _erg) -if(erg) +if(_erg) message(STATUS "Exporting ${f}.lyx to ${format}") message(FATAL_ERROR "Export failed") endif() -- 2.39.5