wasmer/integration_tests/lua/test.sh

15 lines
318 B
Bash
Raw Permalink Normal View History

2019-02-09 01:47:51 +00:00
#! /bin/bash
2019-03-06 21:18:30 +00:00
nohup ./target/release/wasmer run examples/lua.wasm --disable-cache -- -v
2019-02-09 01:47:51 +00:00
if grep "Lua 5.4.0 Copyright (C) 1994-2018 Lua.org, PUC-Rio" ./nohup.out
then
echo "lua integration test succeeded"
rm ./nohup.out
exit 0
else
echo "lua integration test failed"
rm ./nohup.out
exit -1
fi