Page MenuHomePhabricator

Add installer script mode
Closed, ResolvedPublic

Description

Currently the dart clients scripts have three possible modes:

  1. experimental:
  2. - run_ctest() macro will be called *ONE* time
  3. - binary directory will *NOT* be cleaned
  4. continuous:
  5. - run_ctest() macro will be called EVERY 5 minutes ...
  6. - binary directory will *NOT* be cleaned
  7. - configure/build will be executed *ONLY* if the repository has been updated
  8. nightly:
  9. - run_ctest() macro will be called *ONE* time
  10. - binary directory *WILL BE* cleaned

set(SCRIPT_MODE "nightly") # "experimental", "continuous", "nightly"

Would it be possible to add a "installer" script mode:

  1. installer:
  2. - run_ctest() macro will be called *ONE* time
  3. - binary directory *WILL BE* cleaned
  4. - instead of BUILD_ALL the target PACKAGE will be build

Event Timeline

This has been "fixed" by providing the variable CTEST_PROJECT_ADDITIONAL_TARGETS in a dartclient script containing targets which should be build.

See 2021a7cec67dfedd860f5cf4d76eb79777eef865 in branch bug-6517-mitk-superbuild.