From 41de387ab77c6728e3fe4efe3635ac2f06365159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Fri, 6 Apr 2012 21:54:54 +0200 Subject: [PATCH] Workaround for race condition in run_test_octave --- tests/run_test_octave.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/run_test_octave.m b/tests/run_test_octave.m index 6e0d11541..66f0c0cbd 100644 --- a/tests/run_test_octave.m +++ b/tests/run_test_octave.m @@ -84,6 +84,8 @@ for blockFlag = 0:1 stack_solve_algos = [0 1 3:5]; endif + sleep(1) # Workaround for strange race condition related to the _static.m file + for i = 1:length(solve_algos) num_block_tests = num_block_tests + 1; if !blockFlag && !bytecodeFlag && (i == 1)