1. 01 Aug, 2014 1 commit
    • Chad Versace's avatar
      self-tests: Test that installed piglit script sets sys.path correctly · f804732d
      Chad Versace authored
      The piglit script today requires that CMAKE_INSTALL_LIBDIR be "lib".  If
      CMAKE_INSTALL_LIBDIR is anything else, such as "lib64" or "lib32", the
      installed script dies on an import exception because it fails to find
      Piglit's framework module.
      On 64-bit Chrome OS, Gentoo, and Fedora systems, "lib64" is the default
      value of CMAKE_INSTALL_LIBDIR.
      This patch adds the test
      which detects this problem. It tests the following combinations of CMake
      configuration options:
          CMAKE_INSTALL_LIBDIR in ["lib64", "lib32", "lib"]
          PIGLIT_INSTALL_VERSION in [None, "1234"]
      Signed-off-by: default avatarChad Versace <chad.versace@linux.intel.com>