summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-11-06 19:30:20 +0100
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-11-06 19:45:48 +0100
commit338fe3c15e90d62606806b0845bb621dd05153ae (patch)
tree60bb6d291d56883d5ba6c2059594f251a2c9db0b
parent0d92333ec537821876f2d3365e3c1780cfb3c2ea (diff)
Improved xsync feature testing.
Make sure we actually call any XSync function to test if those functions are available on the platform. On HPUX there is something wrong since X11 header files contain required function declarations, however we cannot link to them. Reviewed-by: Andreas
-rw-r--r--config.tests/x11/xsync/xsync.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.tests/x11/xsync/xsync.cpp b/config.tests/x11/xsync/xsync.cpp
index a7175deb76..ed3ecf5177 100644
--- a/config.tests/x11/xsync/xsync.cpp
+++ b/config.tests/x11/xsync/xsync.cpp
@@ -48,5 +48,7 @@ int main(int, char **)
XSyncValue value;
(void*)&XSyncIntToValue;
(void*)&XSyncCreateCounter;
- return 0;
+ int a, b;
+ Status ret = XSyncInitialize(NULL, &a, &b);
+ return ret;
}