📄 sky_shell_compilation_test.js
字号:
/* Script is called once for every node log output. *//* Input variables: Mote mote, int id, String msg. *//* Contiki test script example */if (msg.startsWith('Contiki')) { log.log('TEST OK\n'); /* Report test success */ /* To increase test run speed, close the simulator when done */ mote.getSimulation().getGUI().doQuit(false); /* Quit simulator (to end test run)*/} else { log.log('TEST FAIL\n'); /* Report test failure */ mote.getSimulation().getGUI().doQuit(false); /* Quit simulator (to end test run)*/}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -