3 FIPS_TEST_DIR=/home/cworth/src/fips/test
5 if [ ! -d ${FIPS_TEST_DIR} ] ; then
6 echo "Failed to find fips test suite at: ${FIPS_TEST_DIR}"
7 echo "Please download fips and update this script to point to its test directory."
20 if glaze --wrapper=libglfps.so ${FIPS_TEST_DIR}/${script} | grep -q "^glfps"; then
24 errors=$((errors + 1))
28 echo "Testing glfps with programs using different window-system interfaces to"
29 echo "OpenGL, different linking mechanisms, and different symbol-lookup."
32 printf " Window sys. Link-mode Lookup\n"
33 printf " ----------- ------------- -----------------\n"
35 printf "Testing GLX link to libGL direct calls ... "
38 printf "Testing GLX link to libGL glXGetProcAddress ... "
41 printf "Testing GLX link to libGL glXGetProcAddressARB ... "
44 printf "Testing GLX dlopen(libGL) dlsym ... "
47 printf "Testing GLX dlopen(libGL) glXGetProcAddress ... "
50 printf "Testing GLX dlopen(libGL) glXGetProcAddressARB ... "
55 if [ $errors -gt 0 ]; then
56 echo "Error: $errors/$tests tests failed."
59 echo "All $tests tests passed."