Skip to content

Commit

Permalink
do some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jan 20, 2025
1 parent e055bc9 commit 2234677
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/linux_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ jobs:
- name: Tests
run: |
gcc --version
xmake l os.arch
xmake lua -v -D tests/run.lua
xrepo --version
3 changes: 2 additions & 1 deletion tests/test_utils/test_build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ function test_build:build(argv)
os.exec("xmake f -c -D -y")
os.exec("xmake")
os.rm("build")
os.exec("xmake f -c -D -y --policies=compatibility.version=3.0")
--os.exec("xmake f -c -D -y --policies=compatibility.version:3.0")
os.exec("xmake f -c -D -y --policies=compatibility.version=3.0") -- FIXME
os.exec("xmake -r")
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function generate_dependency_for(target, sourcefile, opt)
print(os.args(table.join(clangscandeps, dependency_flags)))
end
local outdata, errdata = os.iorunv(clangscandeps, dependency_flags)
assert(errdata, errdata)
assert(outdata, errdata)

io.writefile(jsonfile, outdata)
else
Expand Down

0 comments on commit 2234677

Please sign in to comment.