This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
STB="${STB_IP}" #10.6.147.11 | |
PC="${PC_IP}" #10.6.3.137 | |
# listen serial logs from STB | |
alias stb_serial="screen /dev/tty.usbserial-AM01C99T 115200" | |
# open SSH connection to STB | |
alias stb="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@$STB" | |
# restart UI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createTest(prepareData, iteration) { | |
const testData = prepareData(); | |
return (iterationsCount) => { | |
for (let i = 0; i < iterationsCount; i++) { | |
iteration(testData); | |
} | |
}; | |
} |