bluebird75 / luaunit

LuaUnit is a popular unit-testing framework for Lua, with an interface typical of xUnit libraries (Python unittest, Junit, NUnit, ...). It supports several output formats (Text, TAP, JUnit, ...) to be used directly or work with Continuous Integration platforms (Jenkins, Maven, ...).
Other
572 stars 137 forks source link

test fails while building debian package #114

Closed linuxmaniac closed 6 years ago

linuxmaniac commented 6 years ago
Making target test for debian/lua5.1.dh-lua.conf
# tests
Copying luaunit.lua in /build/lua-unit-3.3/5.1-unit for test
****************** lua dynamic custom (5.1) ******
........................................................................................F..................................................................................................
Failed tests:
-------------
1) TestLuaUnitUtilities.test_prettystrTableRecursion
./test/test_luaunit.lua:496: Could not match pattern 
'(<table: 0?x?[%x]+>) {"t9", (<table: 0?x?[%x]+>) {}, (<table: 0?x?[%x]+>) {%1}=1}'
 with string 
'<table: 0x55f24343f780> {
    "t9",
    <table: 0x55f24343f7d0> {},
    <table: 0x55f24347e420> {<table: 0x55f24343f780>}=1
}'
stack traceback:
    ./test/test_luaunit.lua:496: in function 'TestLuaUnitUtilities.test_prettystrTableRecursion'

Ran 187 tests in 0.015 seconds, 186 successes, 1 failure
make[2]: *** [/usr/share/dh-lua/make/dh-lua.Makefile.single:312: test-lua-dynamic-real-custom] Error 1
make[1]: *** [/usr/share/dh-lua/make/dh-lua.Makefile.multiple:12: test] Error 1
dh_auto_test: make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple test returned exit code 2
make: *** [debian/rules:4: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2