Project

General

Profile

Actions

Feature #5327

closed

one modulepar to differentiate between nightly and latest

Added by osmith over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
11/25/2021
Due date:
% Done:

100%

Spec Reference:

Description

New Osmocom releases were just made, and related modulepar variables needed to be adjusted/removed in osmo-ttcn3-hacks as well as docker-playground:

docker-playground.git: osmo-ttcn3-hacks.git: How about, instead of adding new variables for each project and dropping them again in the next release, we do:
  • create one modulepar variable that indicates whether nightly or latest is used (in a libarary, so it's available in all testsuites)
  • adjust docker-playground to set this for all projects once
  • with each new release, we only drop the if() {} around statements that were exclusively running for nightly, but keep the variable
if (mp_is_nightly) {
   extra code
}

Then we need no changes in docker-playground.git after the release, and less changes in osmo-ttcn3-hacks.git.

Thoughts?

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)