Skip to content

Commit f209eaa

Browse files
author
Hasnain Virk
committed
Adding Dragonfly HW smoke test
1 parent ff77541 commit f209eaa

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Jenkinsfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ try {
1616

1717
// Map RaaS instances to corresponding test suites
1818
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"
2021
]
2122

2223
// List of targets with supported modem families
@@ -51,7 +52,7 @@ for (int i = 0; i < target_families.size(); i++) {
5152
def toolchain = toolchains.keySet().asList().get(j)
5253
def compilerLabel = toolchains.get(toolchain)
5354

54-
def stepName = "${target_family} ${toolchain}"
55+
def stepName = "${target} ${toolchain}"
5556
if(allowed_target_type.contains(target)) {
5657
stepsForParallel[stepName] = buildStep(target_family, target, compilerLabel, toolchain)
5758
}
@@ -146,8 +147,13 @@ def run_smoke(target_families, raasPort, suite_to_run, toolchains, targets) {
146147

147148
env.RAAS_USERNAME = "user"
148149
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}/**/*"
151157
}
152158
}
153159
}

0 commit comments

Comments
 (0)