Skip to content

Commit

Permalink
re-enable the scheduler_ops test, keep it unstable for now
Browse files Browse the repository at this point in the history
  • Loading branch information
murveit committed Dec 26, 2021
1 parent f2280b7 commit 8cfa168
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ build-and-test-stable:
- rm -rf Testing
- mkdir -p /var/run/dbus
- dbus-daemon --config-file=/usr/share/dbus-1/system.conf --print-address
- dbus-send --system --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames
- apt install dbus-x11
- export $(dbus-launch)
- dbus-send --session --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames
- xvfb-run ctest -T test -L stable --output-on-failure
after_script:
- pwd
Expand All @@ -92,6 +96,10 @@ build-and-test-unstable:
- rm -rf Testing
- mkdir -p /var/run/dbus
- dbus-daemon --config-file=/usr/share/dbus-1/system.conf --print-address
- dbus-send --system --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames
- apt install dbus-x11
- export $(dbus-launch)
- dbus-send --session --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames
- xvfb-run ctest -T test -LE stable --output-on-failure --no-compress-output
after_script:
- pwd
Expand Down
7 changes: 3 additions & 4 deletions Tests/kstars_ui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,9 @@ ADD_CUSTOM_COMMAND( TARGET test_ekos_scheduler_ops POST_BUILD
${CMAKE_CURRENT_SOURCE_DIR}/org.kde.kstars.MockEkos.MockGuide.xml
${CMAKE_CURRENT_SOURCE_DIR}/org.kde.kstars.MockEkos.MockMount.xml
${CMAKE_CURRENT_BINARY_DIR})
# JM 2021-08-06: Setting as unstable since DBus appears not to work correctly under the CI environment.
# Warrants more investigation.
#ADD_TEST(NAME TestEkosSchedulerOps COMMAND test_ekos_scheduler_ops)
#SET_TESTS_PROPERTIES( TestEkosSchedulerOps PROPERTIES LABELS "unstable;ui" TIMEOUT 120 )

ADD_TEST(NAME TestEkosSchedulerOps COMMAND test_ekos_scheduler_ops)
SET_TESTS_PROPERTIES( TestEkosSchedulerOps PROPERTIES LABELS "unstable;ui" TIMEOUT 120 )

ADD_EXECUTABLE(test_artificial_horizon ${KSTARS_UI_EKOS_SRC} test_artificial_horizon.cpp)
TARGET_LINK_LIBRARIES(test_artificial_horizon ${KSTARS_UI_EKOS_LIBS})
Expand Down

0 comments on commit 8cfa168

Please sign in to comment.