diff options
author | Rob Sykes <rob@rob-Ideapad-S205.(none)> | 2013-03-01 12:17:39 +0400 |
---|---|---|
committer | Rob Sykes <rob@rob-Ideapad-S205.(none)> | 2013-03-01 12:17:39 +0400 |
commit | 3365b533621092e1095df888051ffc1c5fe647c4 (patch) | |
tree | bcd7124bc34d22626fe9fbf493eabf4794bf41c6 | |
parent | b39c5fc01efd123ce3ef79967d19a1b60818b363 (diff) |
uniquify file names to allow parallelism
-rw-r--r-- | tests/cmp-test.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/cmp-test.cmake b/tests/cmp-test.cmake index 554fed2..8db76c5 100644 --- a/tests/cmp-test.cmake +++ b/tests/cmp-test.cmake @@ -7,9 +7,11 @@ else () set (quality 44) endif () +set (output ${from}-${to}-${quality}.s32) + execute_process(COMMAND ${EXAMPLES_BIN}3-options-input-fn ${from} ${to} 1 2 2 ${quality} a INPUT_FILE ref-${from}.s32 - OUTPUT_FILE ${from}-${to}.s32 + OUTPUT_FILE ${output} ERROR_VARIABLE test_error RESULT_VARIABLE test_result) @@ -17,7 +19,7 @@ if (test_result) message (FATAL_ERROR "Resampling failure: ${test_error}") endif () -execute_process(COMMAND ${BIN}vector-cmp ref-${to}.s32 ${from}-${to}.s32 ${to} ${leader} ${len} ${bits} 98 +execute_process(COMMAND ${BIN}vector-cmp ref-${to}.s32 ${output} ${to} ${leader} ${len} ${bits} 98 OUTPUT_VARIABLE test_output RESULT_VARIABLE test_result) |