summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/arch/arch.pro2
-rw-r--r--config.tests/arch/arch_host.pro3
-rw-r--r--config.tests/arch/write_info.pri11
-rw-r--r--config.tests/avx512/avx512.pro10
-rw-r--r--config.tests/separate_debug_info/separate_debug_info.pro7
-rw-r--r--config.tests/stl/stl.pro1
-rw-r--r--config.tests/verifyspec/verifyspec.pro37
-rw-r--r--config.tests/x86_simd/x86_simd.pro11
8 files changed, 0 insertions, 82 deletions
diff --git a/config.tests/arch/arch.pro b/config.tests/arch/arch.pro
deleted file mode 100644
index c607898b71..0000000000
--- a/config.tests/arch/arch.pro
+++ /dev/null
@@ -1,2 +0,0 @@
-SOURCES = arch.cpp
-include(write_info.pri)
diff --git a/config.tests/arch/arch_host.pro b/config.tests/arch/arch_host.pro
deleted file mode 100644
index ea0d1fa572..0000000000
--- a/config.tests/arch/arch_host.pro
+++ /dev/null
@@ -1,3 +0,0 @@
-option(host_build)
-SOURCES = arch.cpp
-include(write_info.pri)
diff --git a/config.tests/arch/write_info.pri b/config.tests/arch/write_info.pri
deleted file mode 100644
index 5b43ce1cd5..0000000000
--- a/config.tests/arch/write_info.pri
+++ /dev/null
@@ -1,11 +0,0 @@
-targetinfofile = $$basename(_PRO_FILE_)
-targetinfofile ~= s/pro$/target.txt/
-
-win32 {
- ext = .exe
-} else:wasm {
- ext = .wasm
-}
-
-content = $${file_prefix}$${TARGET}$${ext}
-write_file($$OUT_PWD/$$targetinfofile, content)
diff --git a/config.tests/avx512/avx512.pro b/config.tests/avx512/avx512.pro
deleted file mode 100644
index d295f6320c..0000000000
--- a/config.tests/avx512/avx512.pro
+++ /dev/null
@@ -1,10 +0,0 @@
-SOURCES = avx512.cpp
-
-!defined(AVX512, "var"): error("You must set the AVX512 variable!")
-
-varname = QMAKE_CFLAGS_AVX512$$AVX512
-value = $$eval($$varname)
-!defined($$varname, "var"): error("This compiler does not support AVX512")
-
-QMAKE_CXXFLAGS += $$value
-DEFINES += WANT_AVX512=$$AVX512 WANT_AVX512$$AVX512
diff --git a/config.tests/separate_debug_info/separate_debug_info.pro b/config.tests/separate_debug_info/separate_debug_info.pro
deleted file mode 100644
index 577aa734d6..0000000000
--- a/config.tests/separate_debug_info/separate_debug_info.pro
+++ /dev/null
@@ -1,7 +0,0 @@
-TARGET = objcopytest
-SOURCES += main.cpp
-load(resolve_target)
-QMAKE_POST_LINK += \
- $$QMAKE_OBJCOPY --only-keep-debug $$QMAKE_RESOLVED_TARGET objcopytest.debug && \
- $$QMAKE_OBJCOPY --strip-debug $$QMAKE_RESOLVED_TARGET && \
- $$QMAKE_OBJCOPY --add-gnu-debuglink=objcopytest.debug $$QMAKE_RESOLVED_TARGET
diff --git a/config.tests/stl/stl.pro b/config.tests/stl/stl.pro
deleted file mode 100644
index 91f29a232c..0000000000
--- a/config.tests/stl/stl.pro
+++ /dev/null
@@ -1 +0,0 @@
-SOURCES = stltest.cpp
diff --git a/config.tests/verifyspec/verifyspec.pro b/config.tests/verifyspec/verifyspec.pro
deleted file mode 100644
index 11a280e4ce..0000000000
--- a/config.tests/verifyspec/verifyspec.pro
+++ /dev/null
@@ -1,37 +0,0 @@
-SOURCES = verifyspec.cpp
-
-# Provide a function to be used by mkspecs
-defineTest(deviceSanityCheckCompiler) {
- equals(QMAKE_HOST.os, Windows): \
- sfx = .exe
- else: \
- sfx =
-
- # Build the compiler filename using the first value in QMAKE_CXX in order to
- # support tools like ccache, which give QMAKE_CXX values of the form:
- # ccache <path_to_compiler>
- compiler = $$first(QMAKE_CXX)$$sfx
-
- # Check if the binary exists with an absolute path. Do this check
- # before the CROSS_COMPILE empty check below to allow the mkspec
- # to derive the compiler path from other device options.
- exists($$compiler): return()
-
- # Check for possible reasons of failure
- # check if CROSS_COMPILE device-option is set
- isEmpty(CROSS_COMPILE): \
- error("CROSS_COMPILE needs to be set via -device-option CROSS_COMPILE=<path>")
-
- # Check if QMAKE_CXX points to an executable.
- ensurePathEnv()
- for (dir, QMAKE_PATH_ENV) {
- exists($$dir/$${compiler}): \
- return()
- }
-
- # QMAKE_CXX does not point to a compiler.
- error("Compiler $$QMAKE_CXX not found. Check the value of CROSS_COMPILE -device-option")
-}
-
-defined(qtConfSanitizeMkspec, test): \
- qtConfSanitizeMkspec()
diff --git a/config.tests/x86_simd/x86_simd.pro b/config.tests/x86_simd/x86_simd.pro
deleted file mode 100644
index 5751432980..0000000000
--- a/config.tests/x86_simd/x86_simd.pro
+++ /dev/null
@@ -1,11 +0,0 @@
-SOURCES = main.cpp
-for (config, SIMD) {
- uc = $$upper($$config)
- DEFINES += QT_COMPILER_SUPPORTS_$${uc}
-
- add_cflags {
- cflags = QMAKE_CFLAGS_$${uc}
- !defined($$cflags, var): error("This compiler does not support $${uc}")
- QMAKE_CXXFLAGS += $$eval($$cflags)
- }
-}