Bug 93064 - no generated_tests for CL
Summary: no generated_tests for CL
Status: RESOLVED NOTABUG
Alias: None
Product: piglit
Classification: Unclassified
Component: infrastructure (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Dylan Baker
QA Contact: Piglit Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-22 09:38 UTC by Igor Gnatenko
Modified: 2015-11-24 00:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Igor Gnatenko 2015-11-22 09:38:27 UTC
$ piglit run quick_cl results/quick_cl
Warning: A python exception that should have been handled was not. This is bug and should be reported.
BUG: [Errno 2] No such file or directory: '/usr/lib64/piglit/generated_tests/cl/builtin/int'

I see only:
-- Installing: /builddir/build/BUILDROOT/piglit-1.0.20151122-1.gitd095ba0.fc24.x86_64/usr/lib64/piglit/generated_tests/cl
-- Installing: /builddir/build/BUILDROOT/piglit-1.0.20151122-1.gitd095ba0.fc24.x86_64/usr/lib64/piglit/generated_tests/cl/store
-- Installing: /builddir/build/BUILDROOT/piglit-1.0.20151122-1.gitd095ba0.fc24.x86_64/usr/lib64/piglit/generated_tests/cl/store/store-kernels-local.inc
-- Installing: /builddir/build/BUILDROOT/piglit-1.0.20151122-1.gitd095ba0.fc24.x86_64/usr/lib64/piglit/generated_tests/cl/store/store-kernels-global.inc
Comment 1 Dylan Baker 2015-11-23 22:58:11 UTC
I can't replicate this bug, can you provide the cmake flags?
Comment 2 Igor Gnatenko 2015-11-23 23:05:38 UTC
Build log: https://kojipkgs.fedoraproject.org//packages/piglit/1.0.20151122/1.gitd095ba0.fc24/data/logs/x86_64/build.log

In short: CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON ../ -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_INSTALL_LIBDIR:PATH=lib64
Comment 3 Dylan Baker 2015-11-23 23:16:21 UTC
I don't know what I did wrong the first time by I can replicate now.

You're missing a configure option to get CL tests, they're off by default.
add -DPIGLIT_BUILD_CL_TESTS=1 and you should be good to go.

Let me know if that fixes it for you.
Comment 4 Igor Gnatenko 2015-11-23 23:25:30 UTC
I think we shouldn't install opencl profile also if we dont build ocl tests.
Comment 5 Dylan Baker 2015-11-23 23:27:22 UTC
I agree, and I was looking into it.

In the meantime, did this fix the issue for you?
Comment 6 Igor Gnatenko 2015-11-23 23:34:06 UTC
It's still building.
Comment 7 Igor Gnatenko 2015-11-23 23:47:52 UTC
Yes, it fixed issue. I got some fails in test suite, but I will open other bugs.
Comment 8 Dylan Baker 2015-11-24 00:01:00 UTC
Cool. I'll mark this as closed then.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.