Skip to content

Commit

Permalink
tests: normalize duration
Browse files Browse the repository at this point in the history
  • Loading branch information
shalupov committed Oct 19, 2015
1 parent 6473c17 commit 055bc9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/run_test.cmake.in
Expand Up @@ -25,6 +25,7 @@ foreach(kind "output" "error")

file(READ "${file_prefix}" _out)
string(REPLACE "@PROJECT_SOURCE_DIR@/" "" _out "${_out}")
string(REGEX REPLACE "duration='[0-9]+'" "duration='0'" _out "${_out}")
file(WRITE "${file_prefix}" "${_out}")

execute_process(
Expand Down

0 comments on commit 055bc9e

Please sign in to comment.