diff --git a/test/test.pro b/tests/auto/auto.pro similarity index 100% rename from test/test.pro rename to tests/auto/auto.pro diff --git a/test/common/comment.cpp b/tests/auto/common/comment.cpp similarity index 100% rename from test/common/comment.cpp rename to tests/auto/common/comment.cpp diff --git a/test/common/comment.h b/tests/auto/common/comment.h similarity index 100% rename from test/common/comment.h rename to tests/auto/common/comment.h diff --git a/test/common/consts.h b/tests/auto/common/consts.h similarity index 100% rename from test/common/consts.h rename to tests/auto/common/consts.h diff --git a/test/common/nut-lib.pri b/tests/auto/common/nut-lib.pri similarity index 100% rename from test/common/nut-lib.pri rename to tests/auto/common/nut-lib.pri diff --git a/test/common/post.cpp b/tests/auto/common/post.cpp similarity index 100% rename from test/common/post.cpp rename to tests/auto/common/post.cpp diff --git a/test/common/post.h b/tests/auto/common/post.h similarity index 100% rename from test/common/post.h rename to tests/auto/common/post.h diff --git a/test/common/score.cpp b/tests/auto/common/score.cpp similarity index 100% rename from test/common/score.cpp rename to tests/auto/common/score.cpp diff --git a/test/common/score.h b/tests/auto/common/score.h similarity index 100% rename from test/common/score.h rename to tests/auto/common/score.h diff --git a/test/common/user.cpp b/tests/auto/common/user.cpp similarity index 100% rename from test/common/user.cpp rename to tests/auto/common/user.cpp diff --git a/test/common/user.h b/tests/auto/common/user.h similarity index 100% rename from test/common/user.h rename to tests/auto/common/user.h diff --git a/test/common/weblogdatabase.cpp b/tests/auto/common/weblogdatabase.cpp similarity index 100% rename from test/common/weblogdatabase.cpp rename to tests/auto/common/weblogdatabase.cpp diff --git a/test/common/weblogdatabase.h b/tests/auto/common/weblogdatabase.h similarity index 100% rename from test/common/weblogdatabase.h rename to tests/auto/common/weblogdatabase.h diff --git a/test/tst_basic/tst_basic.cpp b/tests/auto/tst_basic/tst_basic.cpp similarity index 100% rename from test/tst_basic/tst_basic.cpp rename to tests/auto/tst_basic/tst_basic.cpp diff --git a/test/tst_basic/tst_basic.h b/tests/auto/tst_basic/tst_basic.h similarity index 100% rename from test/tst_basic/tst_basic.h rename to tests/auto/tst_basic/tst_basic.h diff --git a/test/tst_basic/tst_basic.pro b/tests/auto/tst_basic/tst_basic.pro similarity index 100% rename from test/tst_basic/tst_basic.pro rename to tests/auto/tst_basic/tst_basic.pro diff --git a/test/tst_benckmark/tst_benchmark.cpp b/tests/auto/tst_benckmark/tst_benchmark.cpp similarity index 100% rename from test/tst_benckmark/tst_benchmark.cpp rename to tests/auto/tst_benckmark/tst_benchmark.cpp diff --git a/test/tst_benckmark/tst_benchmark.h b/tests/auto/tst_benckmark/tst_benchmark.h similarity index 100% rename from test/tst_benckmark/tst_benchmark.h rename to tests/auto/tst_benckmark/tst_benchmark.h diff --git a/test/tst_benckmark/tst_benckmark.pro b/tests/auto/tst_benckmark/tst_benckmark.pro similarity index 100% rename from test/tst_benckmark/tst_benckmark.pro rename to tests/auto/tst_benckmark/tst_benckmark.pro diff --git a/test/tst_commands/tst_commands.cpp b/tests/auto/tst_commands/tst_commands.cpp similarity index 100% rename from test/tst_commands/tst_commands.cpp rename to tests/auto/tst_commands/tst_commands.cpp diff --git a/test/tst_commands/tst_commands.h b/tests/auto/tst_commands/tst_commands.h similarity index 100% rename from test/tst_commands/tst_commands.h rename to tests/auto/tst_commands/tst_commands.h diff --git a/test/tst_commands/tst_commands.pro b/tests/auto/tst_commands/tst_commands.pro similarity index 100% rename from test/tst_commands/tst_commands.pro rename to tests/auto/tst_commands/tst_commands.pro diff --git a/test/tst_datatypes/db.cpp b/tests/auto/tst_datatypes/db.cpp similarity index 100% rename from test/tst_datatypes/db.cpp rename to tests/auto/tst_datatypes/db.cpp diff --git a/test/tst_datatypes/db.h b/tests/auto/tst_datatypes/db.h similarity index 100% rename from test/tst_datatypes/db.h rename to tests/auto/tst_datatypes/db.h diff --git a/test/tst_datatypes/sampletable.cpp b/tests/auto/tst_datatypes/sampletable.cpp similarity index 100% rename from test/tst_datatypes/sampletable.cpp rename to tests/auto/tst_datatypes/sampletable.cpp diff --git a/test/tst_datatypes/sampletable.h b/tests/auto/tst_datatypes/sampletable.h similarity index 100% rename from test/tst_datatypes/sampletable.h rename to tests/auto/tst_datatypes/sampletable.h diff --git a/test/tst_datatypes/tst_datatypes.cpp b/tests/auto/tst_datatypes/tst_datatypes.cpp similarity index 100% rename from test/tst_datatypes/tst_datatypes.cpp rename to tests/auto/tst_datatypes/tst_datatypes.cpp diff --git a/test/tst_datatypes/tst_datatypes.h b/tests/auto/tst_datatypes/tst_datatypes.h similarity index 100% rename from test/tst_datatypes/tst_datatypes.h rename to tests/auto/tst_datatypes/tst_datatypes.h diff --git a/test/tst_datatypes/tst_datatypes.pro b/tests/auto/tst_datatypes/tst_datatypes.pro similarity index 100% rename from test/tst_datatypes/tst_datatypes.pro rename to tests/auto/tst_datatypes/tst_datatypes.pro diff --git a/test/tst_datetime/db.cpp b/tests/auto/tst_datetime/db.cpp similarity index 100% rename from test/tst_datetime/db.cpp rename to tests/auto/tst_datetime/db.cpp diff --git a/test/tst_datetime/db.h b/tests/auto/tst_datetime/db.h similarity index 100% rename from test/tst_datetime/db.h rename to tests/auto/tst_datetime/db.h diff --git a/test/tst_datetime/sampletable.cpp b/tests/auto/tst_datetime/sampletable.cpp similarity index 100% rename from test/tst_datetime/sampletable.cpp rename to tests/auto/tst_datetime/sampletable.cpp diff --git a/test/tst_datetime/sampletable.h b/tests/auto/tst_datetime/sampletable.h similarity index 100% rename from test/tst_datetime/sampletable.h rename to tests/auto/tst_datetime/sampletable.h diff --git a/test/tst_datetime/tst_datetime.cpp b/tests/auto/tst_datetime/tst_datetime.cpp similarity index 100% rename from test/tst_datetime/tst_datetime.cpp rename to tests/auto/tst_datetime/tst_datetime.cpp diff --git a/test/tst_datetime/tst_datetime.h b/tests/auto/tst_datetime/tst_datetime.h similarity index 100% rename from test/tst_datetime/tst_datetime.h rename to tests/auto/tst_datetime/tst_datetime.h diff --git a/test/tst_datetime/tst_datetime.pro b/tests/auto/tst_datetime/tst_datetime.pro similarity index 100% rename from test/tst_datetime/tst_datetime.pro rename to tests/auto/tst_datetime/tst_datetime.pro diff --git a/test/tst_generators/.gitignore b/tests/auto/tst_generators/.gitignore similarity index 100% rename from test/tst_generators/.gitignore rename to tests/auto/tst_generators/.gitignore diff --git a/test/tst_generators/tst_generators.cpp b/tests/auto/tst_generators/tst_generators.cpp similarity index 100% rename from test/tst_generators/tst_generators.cpp rename to tests/auto/tst_generators/tst_generators.cpp diff --git a/test/tst_generators/tst_generators.h b/tests/auto/tst_generators/tst_generators.h similarity index 100% rename from test/tst_generators/tst_generators.h rename to tests/auto/tst_generators/tst_generators.h diff --git a/test/tst_generators/tst_generators.pro b/tests/auto/tst_generators/tst_generators.pro similarity index 100% rename from test/tst_generators/tst_generators.pro rename to tests/auto/tst_generators/tst_generators.pro diff --git a/test/tst_join/jointest.cpp b/tests/auto/tst_join/jointest.cpp similarity index 100% rename from test/tst_join/jointest.cpp rename to tests/auto/tst_join/jointest.cpp diff --git a/test/tst_join/jointest.h b/tests/auto/tst_join/jointest.h similarity index 100% rename from test/tst_join/jointest.h rename to tests/auto/tst_join/jointest.h diff --git a/test/tst_join/tst_join.pro b/tests/auto/tst_join/tst_join.pro similarity index 100% rename from test/tst_join/tst_join.pro rename to tests/auto/tst_join/tst_join.pro diff --git a/test/tst_json/db.cpp b/tests/auto/tst_json/db.cpp similarity index 100% rename from test/tst_json/db.cpp rename to tests/auto/tst_json/db.cpp diff --git a/test/tst_json/db.h b/tests/auto/tst_json/db.h similarity index 100% rename from test/tst_json/db.h rename to tests/auto/tst_json/db.h diff --git a/test/tst_json/sampletable.cpp b/tests/auto/tst_json/sampletable.cpp similarity index 100% rename from test/tst_json/sampletable.cpp rename to tests/auto/tst_json/sampletable.cpp diff --git a/test/tst_json/sampletable.h b/tests/auto/tst_json/sampletable.h similarity index 100% rename from test/tst_json/sampletable.h rename to tests/auto/tst_json/sampletable.h diff --git a/test/tst_json/tst_json.cpp b/tests/auto/tst_json/tst_json.cpp similarity index 100% rename from test/tst_json/tst_json.cpp rename to tests/auto/tst_json/tst_json.cpp diff --git a/test/tst_json/tst_json.h b/tests/auto/tst_json/tst_json.h similarity index 100% rename from test/tst_json/tst_json.h rename to tests/auto/tst_json/tst_json.h diff --git a/test/tst_json/tst_json.pro b/tests/auto/tst_json/tst_json.pro similarity index 100% rename from test/tst_json/tst_json.pro rename to tests/auto/tst_json/tst_json.pro diff --git a/test/tst_phrases/tst_phrases.cpp b/tests/auto/tst_phrases/tst_phrases.cpp similarity index 100% rename from test/tst_phrases/tst_phrases.cpp rename to tests/auto/tst_phrases/tst_phrases.cpp diff --git a/test/tst_phrases/tst_phrases.h b/tests/auto/tst_phrases/tst_phrases.h similarity index 100% rename from test/tst_phrases/tst_phrases.h rename to tests/auto/tst_phrases/tst_phrases.h diff --git a/test/tst_phrases/tst_phrases.pro b/tests/auto/tst_phrases/tst_phrases.pro similarity index 100% rename from test/tst_phrases/tst_phrases.pro rename to tests/auto/tst_phrases/tst_phrases.pro diff --git a/test/tst_quuid/test.cpp b/tests/auto/tst_quuid/test.cpp similarity index 100% rename from test/tst_quuid/test.cpp rename to tests/auto/tst_quuid/test.cpp diff --git a/test/tst_quuid/test.h b/tests/auto/tst_quuid/test.h similarity index 100% rename from test/tst_quuid/test.h rename to tests/auto/tst_quuid/test.h diff --git a/test/tst_quuid/testdatabase.cpp b/tests/auto/tst_quuid/testdatabase.cpp similarity index 100% rename from test/tst_quuid/testdatabase.cpp rename to tests/auto/tst_quuid/testdatabase.cpp diff --git a/test/tst_quuid/testdatabase.h b/tests/auto/tst_quuid/testdatabase.h similarity index 100% rename from test/tst_quuid/testdatabase.h rename to tests/auto/tst_quuid/testdatabase.h diff --git a/test/tst_quuid/tst_quuid.pro b/tests/auto/tst_quuid/tst_quuid.pro similarity index 100% rename from test/tst_quuid/tst_quuid.pro rename to tests/auto/tst_quuid/tst_quuid.pro diff --git a/test/tst_quuid/tst_uuid.cpp b/tests/auto/tst_quuid/tst_uuid.cpp similarity index 100% rename from test/tst_quuid/tst_uuid.cpp rename to tests/auto/tst_quuid/tst_uuid.cpp diff --git a/test/tst_quuid/tst_uuid.h b/tests/auto/tst_quuid/tst_uuid.h similarity index 100% rename from test/tst_quuid/tst_uuid.h rename to tests/auto/tst_quuid/tst_uuid.h diff --git a/test/tst_upgrades/.gitignore b/tests/auto/tst_upgrades/.gitignore similarity index 100% rename from test/tst_upgrades/.gitignore rename to tests/auto/tst_upgrades/.gitignore diff --git a/test/tst_upgrades/db1.cpp b/tests/auto/tst_upgrades/db1.cpp similarity index 100% rename from test/tst_upgrades/db1.cpp rename to tests/auto/tst_upgrades/db1.cpp diff --git a/test/tst_upgrades/db1.h b/tests/auto/tst_upgrades/db1.h similarity index 100% rename from test/tst_upgrades/db1.h rename to tests/auto/tst_upgrades/db1.h diff --git a/test/tst_upgrades/db2.cpp b/tests/auto/tst_upgrades/db2.cpp similarity index 100% rename from test/tst_upgrades/db2.cpp rename to tests/auto/tst_upgrades/db2.cpp diff --git a/test/tst_upgrades/db2.h b/tests/auto/tst_upgrades/db2.h similarity index 100% rename from test/tst_upgrades/db2.h rename to tests/auto/tst_upgrades/db2.h diff --git a/test/tst_upgrades/db3.cpp b/tests/auto/tst_upgrades/db3.cpp similarity index 100% rename from test/tst_upgrades/db3.cpp rename to tests/auto/tst_upgrades/db3.cpp diff --git a/test/tst_upgrades/db3.h b/tests/auto/tst_upgrades/db3.h similarity index 100% rename from test/tst_upgrades/db3.h rename to tests/auto/tst_upgrades/db3.h diff --git a/test/tst_upgrades/table1.cpp b/tests/auto/tst_upgrades/table1.cpp similarity index 100% rename from test/tst_upgrades/table1.cpp rename to tests/auto/tst_upgrades/table1.cpp diff --git a/test/tst_upgrades/table1.h b/tests/auto/tst_upgrades/table1.h similarity index 100% rename from test/tst_upgrades/table1.h rename to tests/auto/tst_upgrades/table1.h diff --git a/test/tst_upgrades/table2.cpp b/tests/auto/tst_upgrades/table2.cpp similarity index 100% rename from test/tst_upgrades/table2.cpp rename to tests/auto/tst_upgrades/table2.cpp diff --git a/test/tst_upgrades/table2.h b/tests/auto/tst_upgrades/table2.h similarity index 100% rename from test/tst_upgrades/table2.h rename to tests/auto/tst_upgrades/table2.h diff --git a/test/tst_upgrades/table3.cpp b/tests/auto/tst_upgrades/table3.cpp similarity index 100% rename from test/tst_upgrades/table3.cpp rename to tests/auto/tst_upgrades/table3.cpp diff --git a/test/tst_upgrades/table3.h b/tests/auto/tst_upgrades/table3.h similarity index 100% rename from test/tst_upgrades/table3.h rename to tests/auto/tst_upgrades/table3.h diff --git a/test/tst_upgrades/tst_upgrades.cpp b/tests/auto/tst_upgrades/tst_upgrades.cpp similarity index 100% rename from test/tst_upgrades/tst_upgrades.cpp rename to tests/auto/tst_upgrades/tst_upgrades.cpp diff --git a/test/tst_upgrades/tst_upgrades.h b/tests/auto/tst_upgrades/tst_upgrades.h similarity index 100% rename from test/tst_upgrades/tst_upgrades.h rename to tests/auto/tst_upgrades/tst_upgrades.h diff --git a/test/tst_upgrades/tst_upgrades.pro b/tests/auto/tst_upgrades/tst_upgrades.pro similarity index 100% rename from test/tst_upgrades/tst_upgrades.pro rename to tests/auto/tst_upgrades/tst_upgrades.pro diff --git a/tests/tests.pro b/tests/tests.pro new file mode 100644 index 0000000..6d9db4c --- /dev/null +++ b/tests/tests.pro @@ -0,0 +1,10 @@ +TEMPLATE = subdirs + +CONFIG += no_docs_target + +SUBDIRS += auto + +OTHER_FILES += ../.github/workflows/build.yml + +prepareRecursiveTarget(run-tests) +QMAKE_EXTRA_TARGETS += run-tests