bee.lua icon indicating copy to clipboard operation
bee.lua copied to clipboard

test failed in msys2 on win10

Open saighost opened this issue 7 months ago • 3 comments

Error info:

[0/1] Run test.OS:              windows 10.0.18363
Arch:           x86_64
Compiler:       GCC 14.1.0
CRT:            libstdc++ 20240507
DEBUG:          false
..............................................................................................F.....
......
Failed tests:
-------------
1) filewatch.test_2
create_directories: "I:/msys64/tmp/test_bee/temp/dir": (generic:13)Permission denied
stack traceback:
        bee.lua/test/test_filewatch.lua:39: in local 'f'
        bee.lua/test/test_filewatch.lua:28: in upvalue 'test'
        bee.lua/test/test_filewatch.lua:38: in upvalue 'filewatch.test_2'

Ran 106 tests in 1.826 seconds, 105 successes, 1 failures

FAILED: build/mingw/obj/test.stamp
build/mingw/bin/bootstrap.exe bee.lua/test/test.lua --touch build/mingw/obj/test.stamp
ninja: build stopped: subcommand failed.

I check the dir, 'temp' in not found. Change code at test_filewatch.lua:18 local root = fs.absolute("./temp/"):lexically_normal() to local root = fs.absolute("./"):lexically_normal() then test all pass.

saighost avatar Jun 30 '24 16:06 saighost