A few skeleton test classes for the auxiliary elements (all tests skipped for now).
Tests "testcsvparser", "testfwparser", "testdms" and "testcachingdms" are all consolidated into one single executable, "auxiliary_tests".
Details
Details
- Reviewers
mutlaqja - Group Reviewers
KStars - Commits
- R321:19bcaa049cbe: Auxiliary tests (skeletons).
Execute auxiliary_tests, either from the command line or from the QtCreator project run or from the QtCreator test run, no test fails.
Diff Detail
Diff Detail
- Repository
- R321 KStars
- Branch
- improve__test_kstars_classes (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 23156 Build 23174: arc lint + arc unit
Comment Actions
Looking at the current Extragear build for SuSE, I see that:
10:45:26 Test project /home/jenkins/workspace/Extragear/kstars/stable-kf5-qt5 SUSEQt5.12/build 10:45:26 Start 1: appstreamtest 10:45:26 kf5.kinit.klauncher: new app ":1.1" 10:45:26 kf5.kinit.klauncher: new app ":1.2" 10:45:26 kf5.kinit.klauncher: new app "org.gtk.vfs.Daemon" 10:45:27 1/6 Test #1: appstreamtest .................... Passed 0.87 sec 10:45:27 Start 2: CSVParserTest 10:45:27 2/6 Test #2: CSVParserTest .................... Passed 0.23 sec 10:45:27 Start 3: FixedWidthParserTest 10:45:27 3/6 Test #3: FixedWidthParserTest ............. Passed 0.22 sec 10:45:27 Start 4: DMSTest 10:45:27 4/6 Test #4: DMSTest .......................... Passed 0.16 sec 10:45:27 Start 5: TestCachingDms 10:45:28 5/6 Test #5: TestCachingDms ................... Passed 0.20 sec 10:45:28 Start 6: TestSkyPoint 10:45:28 6/6 Test #6: TestSkyPoint ..................... Passed 0.20 sec
Which means the test plan "appstreamtest" is using the test executables in "auxiliary". This differential merges those executables into a single one. Was this a good idea? I can revert to multiple executables, but the CMakefile will grow larger and larger. Opinion?
Comment Actions
So, compatible with Extragear build as of now. As far as I understand, additional (empty) tests will be added to the test step automatically...?