Skip to content

Commit 237cbf7

Browse files
author
Hasnain Virk
authored
Merge pull request #3 from ARMmbed/minor_changes
Minor changes
2 parents fac92d8 + 1958baa commit 237cbf7

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def run_smoke(targets, toolchains, raasPort, suite_to_run, modems) {
139139

140140
env.RAAS_USERNAME = "user"
141141
env.RAAS_PASSWORD = "user"
142-
execute("python clitest.py --suitedir testcases/suites/ --suite ${suite_to_run} --type hardware --reset --raas 193.208.80.31:${raasPort} --failure_return_value -vvv -w --log log_${raasPort}_${suiteName}")
142+
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}")
143143
archive "log_${raasPort}_${suiteName}/**/*"
144144
}
145145
}

main.cpp

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ static void unlock()
5959
}
6060

6161
// main() runs in its own thread in the OS
62-
// (note the calls to wait below for delays)
62+
6363

6464
int do_ntp()
6565
{
@@ -196,16 +196,17 @@ int main()
196196

197197
iface->connection_lost_notification_cb(ppp_connection_down_cb);
198198

199-
retcode = connection();
200-
if (retcode == NSAPI_ERROR_AUTH_FAILURE) {
201-
tr_error("Authentication Failure. Exiting application");
202-
return -1;
203-
}
199+
tr_debug("Connecting...");
200+
retcode = connection();
201+
if (retcode == NSAPI_ERROR_AUTH_FAILURE) {
202+
tr_error("Authentication Failure. Exiting application");
203+
return -1;
204+
}
204205

205-
if (getTime() == 0) {
206-
tr_info("Done.");
207-
}
206+
if (getTime() == 0) {
207+
tr_info("Done.");
208+
}
208209

209-
return 0;
210+
return 0;
210211
}
211212

0 commit comments

Comments
 (0)