diff options
author | max99x <max99x@gmail.com> | 2011-08-02 10:23:41 +0300 |
---|---|---|
committer | max99x <max99x@gmail.com> | 2011-08-02 10:23:41 +0300 |
commit | b1fd409c9e06516be19a5ca15fd95198f628a7fc (patch) | |
tree | de60fa9a529d3b8eb4a42918987d8a8e51ec14e3 /tests | |
parent | bfbdbbf7d145b2c4cf83b9b0b440f6eece6a5f7b (diff) |
Polish for dlfcn.h.
Diffstat (limited to 'tests')
-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; |