diff options
Diffstat (limited to 'tests/runner.py')
-rw-r--r-- | tests/runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index dd0db277..452ace89 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -1988,6 +1988,8 @@ if 'benchmark' not in sys.argv: // Test looked up function. func_fptr = (FUNCTYPE*) dlsym(lib_handle, "_Z4funciPFvvE"); + // Load twice to test cache. + func_fptr = (FUNCTYPE*) dlsym(lib_handle, "_Z4funciPFvvE"); if (func_fptr == NULL) { printf("Could not find func.\\n"); return 1; |