diff --git a/README.md b/README.md index 97b0516..55e2fd7 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,17 @@ $ xmake ## Run tests -We need install [luajit](http://luajit.org/) to run tests first. +We need install [lua](https://www.lua.org/) or [luajit](http://luajit.org/) to run tests first. + +```console +$ lua tests\dialog.lua +$ lua tests\window.lua +$ lua tests\desktop.lua +$ lua tests\inputdialog.lua +$ lua tests\mconfdialog.lua +``` + +Or ```console $ luajit tests\dialog.lua diff --git a/README_zh.md b/README_zh.md index 532f365..44b9bec 100644 --- a/README_zh.md +++ b/README_zh.md @@ -47,7 +47,17 @@ $ xmake ## 运行测试 -你需要先安装[luajit](http://luajit.org/)程序去加载运行测试程序: +你需要先安装[lua](https://www.lua.org/)或者[luajit](http://luajit.org/)程序去加载运行测试程序: + +```console +$ lua tests\dialog.lua +$ lua tests\window.lua +$ lua tests\desktop.lua +$ lua tests\inputdialog.lua +$ lua tests\mconfdialog.lua +``` + +或者 ```console $ luajit tests\dialog.lua