Skip to content

Commit 0ecf525

Browse files
committed
cleanup test and main.c
1 parent d8ac4e8 commit 0ecf525

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

apps/microtvm/zephyr/template_project/src/aot_demo/main.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,6 @@ void main(void) {
171171
memset((char*)cmd_buf, 0, sizeof(cmd_buf));
172172
TVMPlatformUARTInit();
173173
k_timer_init(&g_microtvm_timer, NULL, NULL);
174-
// Required for QEMU test.
175-
TVMLogf("Zephyr AOT Runtime\n");
176174

177175
// Wait for start command
178176
while (true) {
@@ -190,7 +188,7 @@ void main(void) {
190188
}
191189
}
192190
}
193-
TVMLogf("AOT Demo Running...\n");
191+
TVMLogf("Zephyr AOT Runtime\n");
194192

195193
struct tvmgen_default_inputs inputs = {
196194
.input_1 = input_data,

tests/micro/zephyr/test_zephyr_aot.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
import datetime
19-
from hashlib import new
2018
import io
2119
import logging
2220
import os
@@ -214,7 +212,6 @@ def test_tflite(temp_dir, platform, west_cmd, skip_build, tvm_debug):
214212
project.flash()
215213
with project.transport() as transport:
216214
transport.write(b"start\n", timeout_sec=5)
217-
218215
result_line = _get_message(transport, "#result", timeout_sec=60)
219216

220217
result_line = result_line.strip("\n")

0 commit comments

Comments
 (0)