qt6-bb10/tests/benchmarks/corelib/io/qdiriterator
Edward Welbourne 74e9b77f4f Fix QDirIterator benchmark to actually find its test data
The benchmark had a hard-coded path on MS and needed an environment
variable set otherwise; neither sounds like a good approach, when
testlib defines a variable that tells us the test's source directory,
a clearly superior way to find things in our source directories.

In the process, replace exit()ing on failure to get a path with a
QSKIP() so that the test at least fails gracefully if it ever can't
find its data. (Using QFAIL() left it with no rows but still trying to
run the test, leading to an assert failure.)

Pick-to: 6.2 6.1 5.15
Task-number: QTBUG-91713
Change-Id: I1bd5561971239bb838bcf6c24bcdf1d07c81a657
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2021-07-06 13:50:55 +02:00
..
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
main.cpp Fix QDirIterator benchmark to actually find its test data 2021-07-06 13:50:55 +02:00
qfilesystemiterator.cpp Remove QByteArray's methods taking QString and their uses 2020-06-25 09:54:16 +02:00
qfilesystemiterator.h Updated license headers 2016-01-21 18:55:18 +00:00