aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormax99x <max99x@gmail.com>2011-08-02 10:23:41 +0300
committermax99x <max99x@gmail.com>2011-08-02 10:23:41 +0300
commitb1fd409c9e06516be19a5ca15fd95198f628a7fc (patch)
treede60fa9a529d3b8eb4a42918987d8a8e51ec14e3 /tests
parentbfbdbbf7d145b2c4cf83b9b0b440f6eece6a5f7b (diff)
Polish for dlfcn.h.
Diffstat (limited to 'tests')
-rw-r--r--tests/runner.py2
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;