lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Jasper Klein wrote:

There is a reference [2] which is based on the cppreference.com filesystem reference that lists all functions and objects.

The filesystem module is not battle tested but I wrote tests to exercise the API.

A 'make test' does not work on Windows.
Seems a '/home' must exist to make it work.

With a simple rewrite of your Makefile for MSVC,
a 'make test', yields:

Running tests...
-- non_member_functions --
Is not true
stack traceback:
        ./test/tests/non_member_functions.lua:111: in function 'non_member_functions.create_directories_remove_all'
-- path --
Is not true
stack traceback:
        ./test/tests/path.lua:335: in function 'path.is_absolute'
Is not true
stack traceback:
        ./test/tests/path.lua:336: in function 'path.is_absolute'
Is not true
stack traceback:
        ./test/tests/path.lua:340: in function 'path.is_absolute'
Is not false
stack traceback:
        ./test/tests/path.lua:353: in function 'path.is_relative'
Is not false
stack traceback:
        ./test/tests/path.lua:354: in function 'path.is_relative'
Is not false
stack traceback:
        ./test/tests/path.lua:358: in function 'path.is_relative'
-- directory_entry --
Is not false
....

--
--gv