diff options
| author | ruki <[email protected]> | 2020-04-28 23:01:26 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-04-28 23:01:26 +0800 |
| commit | 5b23380cebad555c241b7af8387dcac62f4f6def (patch) | |
| tree | 6da7c7fb83443b353a3f2e66bcfd251361de1873 /tests/test_utils/test_build.lua | |
| parent | 5b2e38daf2ba5a55d0856b727a9cec076ab6c0d3 (diff) | |
fix test build
Diffstat (limited to 'tests/test_utils/test_build.lua')
| -rw-r--r-- | tests/test_utils/test_build.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_utils/test_build.lua b/tests/test_utils/test_build.lua index 8bb35132c..b5c7137d8 100644 --- a/tests/test_utils/test_build.lua +++ b/tests/test_utils/test_build.lua @@ -13,8 +13,8 @@ function test_build:build(argv) os.exec("xmake") os.exec("xmake p -D") if not is_host("windows") then - os.exec("xmake install -o /tmp -a -D") - os.exec("xmake uninstall --installdir=/tmp -D") + os.exec("xmake install -o $(tmpdir) -a -D") + os.exec("xmake uninstall --installdir=$(tmpdir) -D") end os.exec("xmake c -D") os.exec("xmake f --mode=debug -D") |
