Commit 4cbf7a3e authored by Tom Finegan's avatar Tom Finegan
Browse files

Fix handling of empty $LIBAOM_TEST_DATA_PATH in test_worker.cmake.

Variable needed quoting. Without the quoting the error was somewhat
cryptic.

Change-Id: I76dd9715b9a91436a2b10f8cf7fcbd70ae672d23
parent b7336fb9
......@@ -18,7 +18,7 @@ set(AOM_TEST_DATA_PATH "$ENV{LIBAOM_TEST_DATA_PATH}")
include("${AOM_ROOT}/test/test_data_util.cmake")
if (${AOM_TEST_DATA_PATH} STREQUAL "")
if ("${AOM_TEST_DATA_PATH}" STREQUAL "")
message(WARNING "Writing test data to ${AOM_CONFIG_DIR}, set "
"$LIBAOM_TEST_DATA_PATH in your environment to avoid this warning.")
set(AOM_TEST_DATA_PATH "${AOM_CONFIG_DIR}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment