|
16 | 16 |
|
17 | 17 | // Map RaaS instances to corresponding test suites
|
18 | 18 | def raas = [
|
19 |
| - "cellular_minimal_smoke_ublox_c027.json": "8072" |
| 19 | + "cellular_minimal_smoke_ublox_c027.json": "8072", |
| 20 | + "cellular_minimal_smoke_mts_dragonfly.json": "8072" |
20 | 21 | ]
|
21 | 22 |
|
22 | 23 | // List of targets with supported modem families
|
@@ -51,7 +52,7 @@ for (int i = 0; i < target_families.size(); i++) {
|
51 | 52 | def toolchain = toolchains.keySet().asList().get(j)
|
52 | 53 | def compilerLabel = toolchains.get(toolchain)
|
53 | 54 |
|
54 |
| - def stepName = "${target_family} ${toolchain}" |
| 55 | + def stepName = "${target} ${toolchain}" |
55 | 56 | if(allowed_target_type.contains(target)) {
|
56 | 57 | stepsForParallel[stepName] = buildStep(target_family, target, compilerLabel, toolchain)
|
57 | 58 | }
|
@@ -146,8 +147,13 @@ def run_smoke(target_families, raasPort, suite_to_run, toolchains, targets) {
|
146 | 147 |
|
147 | 148 | env.RAAS_USERNAME = "user"
|
148 | 149 | env.RAAS_PASSWORD = "user"
|
149 |
| - execute("python clitest.py --suitedir testcases/suites/ --suite ${suite_to_run} --type hardware --reset --raas 193.208.80.31:${raasPort} --tcdir testcases/cellular --failure_return_value -vvv -w --log log_${raasPort}_${suiteName}") |
150 |
| - archive "log_${raasPort}_${suiteName}/**/*" |
| 150 | + if (target == "MTS_DRAGONFLY_F411RE") { |
| 151 | + execute("python clitest.py --suitedir testcases/suites/ --suite ${suite_to_run} --type hardware --reset hard --raas 193.208.80.31:${raasPort} --tcdir testcases/cellular --failure_return_value -vvv -w --log log_${raasPort}_${suiteName}") |
| 152 | + } |
| 153 | + else { |
| 154 | + execute("python clitest.py --suitedir testcases/suites/ --suite ${suite_to_run} --type hardware --reset --raas 193.208.80.31:${raasPort} --tcdir testcases/cellular --failure_return_value -vvv -w --log log_${raasPort}_${suiteName}") |
| 155 | + } |
| 156 | + archive "log_${raasPort}_${suiteName}/**/*" |
151 | 157 | }
|
152 | 158 | }
|
153 | 159 | }
|
|
0 commit comments