Bug#1022352: lua-mode: FTBFS: tests failed
Source: lua-mode
Version: 20210802-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20221023 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Loading /etc/emacs/site-start.d/00debian.el (source)...
> Loading /etc/emacs/site-start.d/50autoconf.el (source)...
> Loading /etc/emacs/site-start.d/00debian.el (source)...
> Loading /etc/emacs/site-start.d/50autoconf.el (source)...
> Loading /etc/emacs/site-start.d/00debian.el (source)...
> Loading /etc/emacs/site-start.d/50autoconf.el (source)...
> Loading /etc/emacs/site-start.d/00debian.el (source)...
> Loading /etc/emacs/site-start.d/50autoconf.el (source)...
> version is 20210802
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_elpa_test
> buttercup -L .
> Loading /etc/emacs/site-start.d/00debian.el (source)...
> Loading /etc/emacs/site-start.d/50autoconf.el (source)...
> Warning (buttercup): Found duplicate spec names in suite: ("lua-skip-ws-and-comments-forward respects limit when escaping multi-line comment 1: limit=8 \"--[[<1> <2> ]] \\n\"")
> Running 392 out of 410 specs.
>
> Test electric mode
> works with curly braces
> [32m works with curly braces[0m (18.56ms)
> works with parentheses
> [32m works with parentheses[0m (1.38ms)
> works with end
> [32m works with end[0m (1.51ms)
> works with else
> [32m works with else[0m (1.51ms)
> works with elseif
> [32m works with elseif[0m (1.46ms)
>
> Electric pair mode
> skips parens when electric-pair-skip-self is t
> [32m skips parens when electric-pair-skip-self is t[0m (2.01ms)
>
> Test fill-paragraph
> fills single-line comment
> [32m fills single-line comment[0m (0.56ms)
> fills comment after code
> [32m fills comment after code[0m (0.49ms)
> fills multiline comment
> [33m fills multiline comment[0m[33m PENDING[0m (0.06ms)
> does not spill comments into code (issue #25)
> [32m does not spill comments into code (issue #25)[0m (15.26ms)
>
> Test fill-paragraph preserves point position
> doesn't move point if nothing has changed
> [32m doesn't move point if nothing has changed[0m (1.08ms)
> doesn't move point in refilled region
> [32m doesn't move point in refilled region[0m (2.51ms)
> doesn't move point if nothing has changed (multi-line)
> [32m doesn't move point if nothing has changed (multi-line)[0m (0.82ms)
>
> Fontification of built-ins
> fontifies built-ins
> [32m fontifies built-ins[0m (0.30ms)
> fontifies built-ins with spaces between members
> [32m fontifies built-ins with spaces between members[0m (0.30ms)
> doesn't fontify things that look like built-ins
> [32m doesn't fontify things that look like built-ins[0m (0.66ms)
> fontifies built-in class if method is not built-in
> [32m fontifies built-in class if method is not built-in[0m (0.23ms)
> fontifies built-ins after concatenation operator
> [32m fontifies built-ins after concatenation operator[0m (0.19ms)
>
> Fontification of constants
> fontifies constants
> [32m fontifies constants[0m (0.19ms)
> fontifies constants used as attributes
> [32m fontifies constants used as attributes[0m (0.18ms)
>
> Fontification of keywords
> fontifies keywords
> [32m fontifies keywords[0m (0.25ms)
> fontifies keywords used as attributes
> [32m fontifies keywords used as attributes[0m (0.23ms)
>
> Fontification of variables
> fontifies "local foo, bar, baz = 1, 2, 3"
> [32m fontifies "local foo, bar, baz = 1, 2, 3"[0m (0.21ms)
> fontifies "local foo, bar, baz"
> [32m fontifies "local foo, bar, baz"[0m (0.18ms)
> fontifies "local x =" at end of buffer
> [32m fontifies "local x =" at end of buffer[0m (0.14ms)
> fontifies local "x =" at end of line
> [32m fontifies local "x =" at end of line[0m (0.17ms)
> does not fontify "for" inside strings
> [32m does not fontify "for" inside strings[0m (0.22ms)
> fontifies "for x123 ="
> [32m fontifies "for x123 ="[0m (0.15ms)
> fontifies "for x, y, z"
> [32m fontifies "for x, y, z"[0m (0.17ms)
>
> Fontification of function headers
> fontifies function <name>(...) headers
> [32m fontifies function <name>(...) headers[0m (0.18ms)
> fontifies local function <name>(...) headers
> [32m fontifies local function <name>(...) headers[0m (0.21ms)
> fontifies <name> = function (...) headers
> [32m fontifies <name> = function (...) headers[0m (0.25ms)
> fontifies local <name> = function (...) headers
> [32m fontifies local <name> = function (...) headers[0m (0.21ms)
> fontifies parameters in function literals
> [32m fontifies parameters in function literals[0m (0.17ms)
> fontifies different variations of headers altogether
> [32m fontifies different variations of headers altogether[0m (0.47ms)
> fontifies headers inside tables
> [32m fontifies headers inside tables[0m (0.38ms)
> does not fail on issue #59 again
> [32m does not fail on issue #59 again[0m (0.34ms)
> does not choke on function names with underscores
> [32m does not choke on function names with underscores[0m (0.48ms)
>
> Fontification of goto labels
> fontifies simple goto labels
> [32m fontifies simple goto labels[0m (0.18ms)
> fontifies ::labels:: written after code
> [32m fontifies ::labels:: written after code[0m (0.23ms)
> fontifies labels with spaces before and after "::"
> [32m fontifies labels with spaces before and after "::"[0m (0.14ms)
> does not fontify after symbols ending with "goto"
> [32m does not fontify after symbols ending with "goto"[0m (0.14ms)
>
> Fontification of LuaDoc keywords
> works
> [32m works[0m (0.72ms)
>
> Test `lua-funcname-at-point'.
> handles trailing periods
> [32m handles trailing periods[0m (0.11ms)
> handles point being in the middle
> [32m handles point being in the middle[0m (0.09ms)
> handles point being at the start of the buffer
> [32m handles point being at the start of the buffer[0m (0.10ms)
> handles identifiers before point
> [32m handles identifiers before point[0m (0.08ms)
>
> lua-forward-sexp
> properly scans through curly braces
> [31m properly scans through curly braces[0m[31m FAILED[0m (0.45ms)
> scans through then .. end block
> [31m scans through then .. end block[0m[31m FAILED[0m (14.99ms)
>
> Check that beginning-of-defun works with
> handles differed function headers
> [31m handles differed function headers[0m[31m FAILED[0m (0.25ms)
> accepts dots and colons
> [31m accepts dots and colons[0m[31m FAILED[0m (0.20ms)
>
> lua-mode
> is derived from prog-mode
> [32m is derived from prog-mode[0m (0.19ms)
>
> imenu integration
> indexes functions
> [32m indexes functions[0m (0.39ms)
> indexes require statements
> [31m indexes require statements[0m[31m FAILED[0m (0.22ms)
>
> lua-backward-up-list
> doesn't move point when no parent block open token exists
> [32m doesn't move point when no parent block open token exists[0m (0.19ms)
> doesn't move point when cannot skip intermediate close token
> [32m doesn't move point when cannot skip intermediate close token[0m (0.23ms)
> works for (
> [32m works for ([0m (0.22ms)
> works for {
> [32m works for {[0m (0.22ms)
> works for else
> [32m works for else[0m (0.22ms)
> works for if/else/end
> [32m works for if/else/end[0m (0.21ms)
> works for do blocks
> [32m works for do blocks[0m (0.24ms)
> works for while/do
> [32m works for while/do[0m (0.22ms)
> skips complete while/do block
> [32m skips complete while/do block[0m (0.28ms)
> skips complete repeat/until block
> [32m skips complete repeat/until block[0m (0.27ms)
> skips complete if/elseif/else/end block
> [32m skips complete if/elseif/else/end block[0m (0.38ms)
> skips from else to previous then
> [32m skips from else to previous then[0m (0.25ms)
> skips from end to previous else
> [32m skips from end to previous else[0m (0.25ms)
>
> lua-goto-matching-block
> works for do...end block
> [32m works for do...end block[0m (1.12ms)
> works for repeat...until block
> [32m works for repeat...until block[0m (0.51ms)
> works for while...do...end block
> [32m works for while...do...end block[0m (1.14ms)
> works for if..elseif..else..end block
> [32m works for if..elseif..else..end block[0m (1.43ms)
>
> Indentation test `continuation-lines.lua'
> indentation if broken in the middle of \"foo.bar\" and \"qux:quux\"
> [32m indentation if broken in the middle of \"foo.bar\" and \"qux:quux\"[0m (18.78ms)
> indentation after return
> [32m indentation after return[0m (0.75ms)
> indentation after return: blocks
> [32m indentation after return: blocks[0m (2.44ms)
> indentation after return: f1
> [32m indentation after return: f1[0m (15.41ms)
> indentation after return: f2
> [32m indentation after return: f2[0m (1.07ms)
> indentation after return: f3
> [32m indentation after return: f3[0m (0.70ms)
> indentation after ellipsis
> [32m indentation after ellipsis[0m (0.65ms)
> indentation in block-intros: while
> [32m indentation in block-intros: while[0m (0.87ms)
> indentation in block-intros: while 2
> [32m indentation in block-intros: while 2[0m (0.80ms)
> indents expressions after return: basic
> [32m indents expressions after return: basic[0m (0.71ms)
> indents expressions after return: function literal
> [32m indents expressions after return: function literal[0m (0.75ms)
> indents expressions after return: ellipsis
> [32m indents expressions after return: ellipsis[0m (0.73ms)
> does not indents keywords after return: end
> [32m does not indents keywords after return: end[0m (0.53ms)
> does not indents keywords after return: if/end
> [32m does not indents keywords after return: if/end[0m (0.77ms)
> does not indents keywords after return: if/else
> [32m does not indents keywords after return: if/else[0m (15.28ms)
> does not indents keywords after return: if/elseif
> [32m does not indents keywords after return: if/elseif[0m (1.13ms)
> does not indents keywords after return: repeat/until
> [32m does not indents keywords after return: repeat/until[0m (0.68ms)
> does not indents keywords after return: semicolon 1
> [32m does not indents keywords after return: semicolon 1[0m (0.74ms)
> does not indents keywords after return: semicolon 2
> [32m does not indents keywords after return: semicolon 2[0m (1.55ms)
>
> Indentation test `for-equals-block.lua'
> works for "for ... = ... do" block: 1
> [32m works for "for ... = ... do" block: 1[0m (0.67ms)
> works for "for ... = ... do" block: 2
> [32m works for "for ... = ... do" block: 2[0m (0.68ms)
> works for "for ... = ... do" block: 3
> [32m works for "for ... = ... do" block: 3[0m (0.93ms)
> works for "for ... = ... do" block: 4
> [32m works for "for ... = ... do" block: 4[0m (0.86ms)
> works for "for ... = ... do" block: 5
> [32m works for "for ... = ... do" block: 5[0m (0.92ms)
> works for "for ... = ... do" block: 6
> [32m works for "for ... = ... do" block: 6[0m (14.99ms)
> works for "for ... = ... do" block: 7
> [32m works for "for ... = ... do" block: 7[0m (1.76ms)
> works for "for ... = ... do" block: single line
> [32m works for "for ... = ... do" block: single line[0m (0.55ms)
>
> Indentation test `if-elseif-else-block.lua'
> works for if/then block: 1
> [32m works for if/then block: 1[0m (0.69ms)
> works for if/then block: 2
> [32m works for if/then block: 2[0m (0.91ms)
> works for if/then block: 3
> [32m works for if/then block: 3[0m (0.90ms)
> works for if/then block: 4
> [32m works for if/then block: 4[0m (0.70ms)
> works for if/then block: 5
> [32m works for if/then block: 5[0m (0.85ms)
> works for if/then block: 6
> [32m works for if/then block: 6[0m (0.89ms)
> works for if/then block: single line 1
> [32m works for if/then block: single line 1[0m (0.52ms)
> works for if/then block: single line 2
> [32m works for if/then block: single line 2[0m (0.72ms)
> works for if/then block: single line 3
> [32m works for if/then block: single line 3[0m (0.59ms)
> works for if/then block: single line 4
> [32m works for if/then block: single line 4[0m (0.69ms)
> works for if/else block: 1
> [32m works for if/else block: 1[0m (0.87ms)
> works for if/else block: 2
> [32m works for if/else block: 2[0m (0.72ms)
> works for if/else block: 3
> [32m works for if/else block: 3[0m (0.77ms)
> works for if/else block: 4
> [32m works for if/else block: 4[0m (0.75ms)
> works for if/else block: 5
> [32m works for if/else block: 5[0m (0.72ms)
> works for if/else block: single line 1
> [32m works for if/else block: single line 1[0m (0.57ms)
> works for if/else block: single line 2
> [32m works for if/else block: single line 2[0m (0.62ms)
> works for if/else block: single line 3
> [32m works for if/else block: single line 3[0m (0.62ms)
> works for if/else block: single line 4
> [32m works for if/else block: single line 4[0m (0.62ms)
> XFAIL: works for if/else block: single line 5
> [33m XFAIL: works for if/else block: single line 5[0m[33m PENDING[0m (0.05ms)
> works for if/else block: single line 6
> [32m works for if/else block: single line 6[0m (15.53ms)
> XFAIL: works for if/else block: parentheses in conditional
> [33m XFAIL: works for if/else block: parentheses in conditional[0m[33m PENDING[0m (0.06ms)
> works for if/elseif/else block: 1
> [32m works for if/elseif/else block: 1[0m (1.32ms)
> works for if/elseif/else block: 2
> [32m works for if/elseif/else block: 2[0m (1.43ms)
> XFAIL: works for if/elseif/else block: 3
> [33m XFAIL: works for if/elseif/else block: 3[0m[33m PENDING[0m (0.08ms)
> XFAIL: works for if/elseif/else block: 4
> [33m XFAIL: works for if/elseif/else block: 4[0m[33m PENDING[0m (0.05ms)
>
> Indentation test `smoke.lua'
> section 1
> [32m section 1[0m (0.53ms)
>
> Indentation test `only-use-last-opener.lua'
> XFAIL: one param, nested table on same line as opener
> [33m XFAIL: one param, nested table on same line as opener[0m[33m PENDING[0m (0.06ms)
> XFAIL: two params, nested table on same line as opener
> [33m XFAIL: two params, nested table on same line as opener[0m[33m PENDING[0m (0.05ms)
> XFAIL: two aligned params, nested table on next line
> [33m XFAIL: two aligned params, nested table on next line[0m[33m PENDING[0m (0.06ms)
> XFAIL: two aligned table params, first has nested tables
> [33m XFAIL: two aligned table params, first has nested tables[0m[33m PENDING[0m (0.04ms)
> XFAIL: one nested table containing another table
> [33m XFAIL: one nested table containing another table[0m[33m PENDING[0m (0.04ms)
> XFAIL: nested table with indentation: nested table on separate line
> [33m XFAIL: nested table with indentation: nested table on separate line[0m[33m PENDING[0m (0.05ms)
> XFAIL: nested table with alignment: nested table on separate line
> [33m XFAIL: nested table with alignment: nested table on separate line[0m[33m PENDING[0m (0.05ms)
> nested table with indentation: params after nested table
> [32m nested table with indentation: params after nested table[0m (2.07ms)
>
> Indentation test `assignment-indentation.lua'
> ensure is sane
> [32m ensure is sane[0m (0.41ms)
> add continuation before =
> [32m add continuation before =[0m (0.59ms)
> add continuation after =
> [32m add continuation after =[0m (0.60ms)
> continuation after comma: 1
> [32m continuation after comma: 1[0m (0.65ms)
> continuation after comma: 2
> [32m continuation after comma: 2[0m (14.74ms)
> continuation after comma: 3
> [32m continuation after comma: 3[0m (0.67ms)
> continuation after comma: 4
> [32m continuation after comma: 4[0m (0.59ms)
> continuation after comma: 5
> [32m continuation after comma: 5[0m (0.89ms)
> continuation after "local": 1
> [32m continuation after "local": 1[0m (0.38ms)
> continuation after "local": 2
> [32m continuation after "local": 2[0m (0.57ms)
> continuation after "local": 3
> [32m continuation after "local": 3[0m (1.20ms)
> continuation after "local": 4
> [32m continuation after "local": 4[0m (0.39ms)
> indentation of function call arguments in continuation part
> [32m indentation of function call arguments in continuation part[0m (1.07ms)
> does not indent binary operators inside parentheses: alignment 1
> [32m does not indent binary operators inside parentheses: alignment 1[0m (0.52ms)
> does not indent binary operators inside parentheses: alignment 2
> [32m does not indent binary operators inside parentheses: alignment 2[0m (0.48ms)
> does not indent binary operators inside parentheses: indentation 1
> [32m does not indent binary operators inside parentheses: indentation 1[0m (0.80ms)
> does not indent binary operators inside parentheses: indentation 2
> [32m does not indent binary operators inside parentheses: indentation 2[0m (0.78ms)
> it unindents close paren for arithmetical expression
> [32m it unindents close paren for arithmetical expression[0m (14.92ms)
> it unindents close paren for arithmetical expression: local
> [32m it unindents close paren for arithmetical expression: local[0m (0.62ms)
> it unindents close paren for function call
> [32m it unindents close paren for function call[0m (0.61ms)
> it unindents close paren for function call: local
> [32m it unindents close paren for function call: local[0m (0.60ms)
> it unindents close brace for table ctor
> [32m it unindents close brace for table ctor[0m (0.55ms)
> it unindents close brace for table ctor: local
> [32m it unindents close brace for table ctor: local[0m (0.59ms)
> XFAIL: it unindents close bracket for indexing
> [33m XFAIL: it unindents close bracket for indexing[0m[33m PENDING[0m (0.04ms)
> XFAIL: it unindents close bracket for indexing: local
> [33m XFAIL: it unindents close bracket for indexing: local[0m[33m PENDING[0m (0.02ms)
> does not indent binary operators inside brackets: alignment 1
> [32m does not indent binary operators inside brackets: alignment 1[0m (0.55ms)
> does not indent binary operators inside brackets: alignment 2
> [32m does not indent binary operators inside brackets: alignment 2[0m (0.48ms)
> does not indent binary operators inside brackets: indentation 1
> [32m does not indent binary operators inside brackets: indentation 1[0m (0.83ms)
> does not indent binary operators inside brackets: indentation 2
> [32m does not indent binary operators inside brackets: indentation 2[0m (0.83ms)
>
> Indentation test `repeat-until-block.lua'
> works for repeat ... until blocks: 1
> [32m works for repeat ... until blocks: 1[0m (0.70ms)
> works for repeat ... until blocks: 2
> [32m works for repeat ... until blocks: 2[0m (1.07ms)
> works for repeat ... until blocks: 3
> [32m works for repeat ... until blocks: 3[0m (1.52ms)
> works for repeat ... until blocks: 4
> [32m works for repeat ... until blocks: 4[0m (16.46ms)
> works for repeat ... until blocks: single line
> [32m works for repeat ... until blocks: single line[0m (0.49ms)
> works for repeat ... until blocks: single line with continuation 1
> [32m works for repeat ... until blocks: single line with continuation 1[0m (0.77ms)
> XFAIL: works for repeat ... until blocks: single line with continuation 1
> [33m XFAIL: works for repeat ... until blocks: single line with continuation 1[0m[33m PENDING[0m (0.06ms)
>
> Indentation test `function-call-arguments.lua'
> it works for single line case
> [32m it works for single line case[0m (0.47ms)
> it works for indenting all args on one line: close paren on separate line
> [32m it works for indenting all args on one line: close paren on separate line[0m (0.66ms)
> it works for indenting all args in a column: close paren on separate line
> [32m it works for indenting all args in a column: close paren on separate line[0m (0.94ms)
> it works for mixed arg indentation: close paren on separate line
> [32m it works for mixed arg indentation: close paren on separate line[0m (0.77ms)
> it works with table ctorfor single line case
> [32m it works with table ctorfor single line case[0m (0.45ms)
> it works with table ctor for indenting all args on one line: close paren on separate line
> [32m it works with table ctor for indenting all args on one line: close paren on separate line[0m (0.67ms)
> it works with table ctor for indenting all args in a column: close paren on separate line
> [32m it works with table ctor for indenting all args in a column: close paren on separate line[0m (1.01ms)
> it works with table ctor for mixed arg indentation: close paren on separate line
> [32m it works with table ctor for mixed arg indentation: close paren on separate line[0m (15.62ms)
> it works for mixed arg indentation with table in the middle: close paren on separate line
> [32m it works for mixed arg indentation with table in the middle: close paren on separate line[0m (1.46ms)
> it works for mixed arg indentation with table first: close paren on separate line
> [32m it works for mixed arg indentation with table first: close paren on separate line[0m (1.30ms)
> it works for mixed arg indentation with table last: close paren on separate line
> [32m it works for mixed arg indentation with table last: close paren on separate line[0m (1.22ms)
>
> Indentation test `issue-33.lua'
> don't accumulate indentation after the expression
> [32m don't accumulate indentation after the expression[0m (3.51ms)
> here foobar should be indented as simple continuation statement
> [32m here foobar should be indented as simple continuation statement[0m (20.81ms)
>
> Indentation test `do-block.lua'
> works for do ... end blocks on separate lines
> [32m works for do ... end blocks on separate lines[0m (0.77ms)
> works for do ... end blocks: single line
> [32m works for do ... end blocks: single line[0m (0.53ms)
> works for do ... end blocks: body on the same line
> [32m works for do ... end blocks: body on the same line[0m (0.54ms)
> works for do ... end blocks: continuation inside body
> [32m works for do ... end blocks: continuation inside body[0m (15.58ms)
> works for do ... end blocks: parentheses inside body
> [32m works for do ... end blocks: parentheses inside body[0m (0.77ms)
>
> Indentation test `while-block.lua'
> works for while ... do ... end blocks: 1
> [32m works for while ... do ... end blocks: 1[0m (0.70ms)
> works for while ... do ... end blocks: 2
> [32m works for while ... do ... end blocks: 2[0m (0.71ms)
> works for while ... do ... end blocks: 3
> [32m works for while ... do ... end blocks: 3[0m (0.91ms)
> works for while ... do ... end blocks: 4
> [32m works for while ... do ... end blocks: 4[0m (0.91ms)
> works for while ... do ... end blocks: 5
> [32m works for while ... do ... end blocks: 5[0m (1.03ms)
> works for while ... do ... end blocks: 6
> [32m works for while ... do ... end blocks: 6[0m (0.95ms)
> works for while ... do ... end blocks: 7
> [32m works for while ... do ... end blocks: 7[0m (1.02ms)
> works for while ... do ... end blocks: 8
> [32m works for while ... do ... end blocks: 8[0m (0.95ms)
> works for while ... do ... end blocks: single line
> [32m works for while ... do ... end blocks: single line[0m (14.82ms)
> works for while ... do ... end blocks: single line with continuation in body
> [32m works for while ... do ... end blocks: single line with continuation in body[0m (0.88ms)
> works for while ... do ... end blocks: single line with parentheses in body
> [32m works for while ... do ... end blocks: single line with parentheses in body[0m (0.79ms)
>
> Indentation test `for-in-block.lua'
> works for "for .. in .. do" block: 1
> [32m works for "for .. in .. do" block: 1[0m (0.76ms)
> works for "for .. in .. do" block: 2
> [32m works for "for .. in .. do" block: 2[0m (1.02ms)
> works for "for .. in .. do" block: 3
> [32m works for "for .. in .. do" block: 3[0m (1.29ms)
> works for "for .. in .. do" block: 4
> [32m works for "for .. in .. do" block: 4[0m (1.72ms)
> works for "for .. in .. do" block: 5
> [32m works for "for .. in .. do" block: 5[0m (1.10ms)
> works for "for .. in .. do" block: 6
> [32m works for "for .. in .. do" block: 6[0m (15.63ms)
> works for "for .. in .. do" block: 7
> [32m works for "for .. in .. do" block: 7[0m (1.05ms)
> works for "for .. in .. do" block: 8
> [32m works for "for .. in .. do" block: 8[0m (0.79ms)
> works for "for .. in .. do" block: 9
> [32m works for "for .. in .. do" block: 9[0m (0.77ms)
> works for "for .. in .. do" block: single line
> [32m works for "for .. in .. do" block: single line[0m (0.58ms)
>
> Indentation test `goto-label.lua'
> is sane
> [32m is sane[0m (0.67ms)
> does not affect indentation when put on a separate line
> [32m does not affect indentation when put on a separate line[0m (0.80ms)
> XFAIL: does not affect indentation before block modifiers
> [33m XFAIL: does not affect indentation before block modifiers[0m[33m PENDING[0m (0.03ms)
> does not affect indentation after block modifiers
> [32m does not affect indentation after block modifiers[0m (0.69ms)
> reindents according to luawiki examples: 1
> [32m reindents according to luawiki examples: 1[0m (18.55ms)
> reindents according to luawiki examples: 2
> [32m reindents according to luawiki examples: 2[0m (2.83ms)
> reindents according to luawiki examples: 3
> [32m reindents according to luawiki examples: 3[0m (1.00ms)
> reindents according to luawiki examples: 4
> [32m reindents according to luawiki examples: 4[0m (1.52ms)
> reindents according to luawiki examples: 5
> [32m reindents according to luawiki examples: 5[0m (1.71ms)
> reindents according to luawiki examples: 6
> [32m reindents according to luawiki examples: 6[0m (19.19ms)
> reindents according to luawiki examples: 7
> [32m reindents according to luawiki examples: 7[0m (2.89ms)
>
> Continuation lines
> are indented before/after binary operators: +
> [32m are indented before/after binary operators: +[0m (0.71ms)
> are indented before/after binary operators: -
> [32m are indented before/after binary operators: -[0m (0.69ms)
> are indented before/after binary operators: *
> [32m are indented before/after binary operators: *[0m (0.72ms)
> are indented before/after binary operators: /
> [32m are indented before/after binary operators: /[0m (0.71ms)
> are indented before/after binary operators: ^
> [32m are indented before/after binary operators: ^[0m (15.61ms)
> are indented before/after binary operators: %
> [32m are indented before/after binary operators: %[0m (0.70ms)
> are indented before/after binary operators: ..
> [32m are indented before/after binary operators: ..[0m (0.67ms)
> are indented before/after binary operators: <
> [32m are indented before/after binary operators: <[0m (0.69ms)
> are indented before/after binary operators: <=
> [32m are indented before/after binary operators: <=[0m (0.65ms)
> are indented before/after binary operators: >
> [32m are indented before/after binary operators: >[0m (0.68ms)
> are indented before/after binary operators: >=
> [32m are indented before/after binary operators: >=[0m (0.66ms)
> are indented before/after binary operators: ==
> [32m are indented before/after binary operators: ==[0m (0.65ms)
> are indented before/after binary operators: ~=
> [32m are indented before/after binary operators: ~=[0m (0.66ms)
> are indented before/after binary operators: and
> [32m are indented before/after binary operators: and[0m (0.66ms)
> are indented before/after binary operators: or
> [32m are indented before/after binary operators: or[0m (0.67ms)
>
> Function indentation
> indents function call arguments
> [32m indents function call arguments[0m (2.00ms)
> indent blocks with lua-indent-nested-block-content-align
> [32m indent blocks with lua-indent-nested-block-content-align[0m (17.22ms)
> indent blocks with lua-indent-close-paren-align
> [32m indent blocks with lua-indent-close-paren-align[0m (1.00ms)
> indents nested tables with alternative block indenting
> [32m indents nested tables with alternative block indenting[0m (4.94ms)
>
> Hiding process buffer does not switch current window
> when process is active
> [32m when process is active[0m (2.27ms)
> and does not signal when process is already killed
> [32m and does not signal when process is already killed[0m (16.02ms)
> when process is not started
> [32m when process is not started[0m (0.35ms)
>
> Compilation minor mode
> sets comint-prompt-regexp in process buffer
> [32m sets comint-prompt-regexp in process buffer[0m (2.16ms)
>
> Fontification in compilation buffer
> fontifies runtime error messages
> [33m fontifies runtime error messages[0m[33m PENDING[0m (0.04ms)
> fontifies syntax error messages
> [33m fontifies syntax error messages[0m[33m PENDING[0m (0.02ms)
>
> String escaping
> Escapes literal tabs
> [32m Escapes literal tabs[0m (0.18ms)
>
> `lua-start-process'
> doesn't hang for an already-running process
> [32m doesn't hang for an already-running process[0m (1.64ms)
>
> Test indent-new-comment-line
> works with -- ...
> [31m works with -- ...[0m[31m FAILED[0m (0.11ms)
> works with ---- ....
> [31m works with ---- ....[0m[31m FAILED[0m (0.08ms)
> doesn't recognize "--" inside strings and comments
> [31m doesn't recognize "--" inside strings and comments[0m[31m FAILED[0m (0.09ms)
> works when the comment is empty
> [31m works when the comment is empty[0m[31m FAILED[0m (0.08ms)
>
> lua-comment-start-pos
> returns beginning of single-line comment if inside
> [32m returns beginning of single-line comment if inside[0m (0.35ms)
> returns beginning of single-line comment if between delimiters
> [32m returns beginning of single-line comment if between delimiters[0m (0.31ms)
> returns nil if before delimiters
> [32m returns nil if before delimiters[0m (0.30ms)
> returns nil if before single-line comment
> [32m returns nil if before single-line comment[0m (0.30ms)
> returns nil if after single-line comment
> [32m returns nil if after single-line comment[0m (0.29ms)
> returns nil if inside single-line string
> [32m returns nil if inside single-line string[0m (0.29ms)
> returns nil if inside multi-line string
> [32m returns nil if inside multi-line string[0m (0.39ms)
> returns beginning of multi-line comment if inside 1
> [32m returns beginning of multi-line comment if inside 1[0m (0.32ms)
> returns beginning of multi-line comment if inside 2
> [32m returns beginning of multi-line comment if inside 2[0m (0.33ms)
> returns beginning of multi-line comment if inside 3
> [32m returns beginning of multi-line comment if inside 3[0m (0.31ms)
> returns beginning of multi-line comment if between delimiters 1
> [32m returns beginning of multi-line comment if between delimiters 1[0m (0.29ms)
> returns beginning of single-line comment if between delimiters 2
> [32m returns beginning of single-line comment if between delimiters 2[0m (0.32ms)
> returns beginning of multi-line comment if between delimiters 3
> [32m returns beginning of multi-line comment if between delimiters 3[0m (0.31ms)
> returns beginning of multi-line comment if between delimiters 4
> [32m returns beginning of multi-line comment if between delimiters 4[0m (0.32ms)
> returns beginning of multi-line comment if between delimiters 5
> [32m returns beginning of multi-line comment if between delimiters 5[0m (0.31ms)
> returns nil if before multi-line opener
> [32m returns nil if before multi-line opener[0m (0.30ms)
> returns nil if after multi-line closer
> [32m returns nil if after multi-line closer[0m (0.31ms)
> returns beginning of multi-line comment if after multi-line closer with different opener
> [32m returns beginning of multi-line comment if after multi-line closer with different opener[0m (0.30ms)
> returns nil if multi-line opener is inside string 1
> [32m returns nil if multi-line opener is inside string 1[0m (0.28ms)
> returns nil if multi-line opener is inside string 2
> [32m returns nil if multi-line opener is inside string 2[0m (0.30ms)
> returns nil if multi-line opener is inside multi-line string 1
> [32m returns nil if multi-line opener is inside multi-line string 1[0m (0.32ms)
> returns nil if multi-line opener is inside multi-line string 2
> [32m returns nil if multi-line opener is inside multi-line string 2[0m (0.31ms)
>
> lua-comment-or-string-start-p/-pos
> returns nil for ("<>'foo'")
> [32m returns nil for ("<>'foo'")[0m (0.31ms)
> returns truthy/1 for ("'<>foo'")
> [32m returns truthy/1 for ("'<>foo'")[0m (0.42ms)
> returns truthy/1 for ("'foo<>'")
> [32m returns truthy/1 for ("'foo<>'")[0m (0.37ms)
> returns nil for ("'foo'<>")
> [32m returns nil for ("'foo'<>")[0m (0.44ms)
> returns nil for ("<>\"foo\"")
> [32m returns nil for ("<>\"foo\"")[0m (0.34ms)
> returns truthy/1 for ("\"<>foo\"")
> [32m returns truthy/1 for ("\"<>foo\"")[0m (0.32ms)
> returns truthy/1 for ("\"foo<>\"")
> [32m returns truthy/1 for ("\"foo<>\"")[0m (0.31ms)
> returns nil for ("\"foo\"<>")
> [32m returns nil for ("\"foo\"<>")[0m (0.31ms)
> returns nil for ("<>[[foo]]")
> [32m returns nil for ("<>[[foo]]")[0m (0.36ms)
> returns truthy/1 for ("[[<>foo]]")
> [32m returns truthy/1 for ("[[<>foo]]")[0m (0.35ms)
> returns truthy/1 for ("[<>[foo]]")
> [32m returns truthy/1 for ("[<>[foo]]")[0m (0.39ms)
> returns truthy/1 for ("[=<>[foo]=]")
> [32m returns truthy/1 for ("[=<>[foo]=]")[0m (0.36ms)
> returns truthy/1 for ("[<>=[foo]=]")
> [32m returns truthy/1 for ("[<>=[foo]=]")[0m (15.99ms)
> returns truthy/1 for ("[[foo<>]]")
> [32m returns truthy/1 for ("[[foo<>]]")[0m (0.48ms)
> returns truthy/1 for ("[[foo]<>]")
> [32m returns truthy/1 for ("[[foo]<>]")[0m (0.34ms)
> returns truthy/1 for ("[[foo]<>=]")
> [32m returns truthy/1 for ("[[foo]<>=]")[0m (0.37ms)
> returns truthy/1 for ("[[foo]=<>]")
> [32m returns truthy/1 for ("[[foo]=<>]")[0m (0.33ms)
> returns nil for ("[[foo]]<>")
> [32m returns nil for ("[[foo]]<>")[0m (0.58ms)
> returns nil for ("foo <>-- bar")
> [32m returns nil for ("foo <>-- bar")[0m (0.50ms)
> returns truthy/5 for ("foo -<>- bar")
> [32m returns truthy/5 for ("foo -<>- bar")[0m (0.34ms)
> returns truthy/5 for ("foo --<> bar")
> [32m returns truthy/5 for ("foo --<> bar")[0m (0.32ms)
> returns truthy/5 for ("foo -- <>bar")
> [32m returns truthy/5 for ("foo -- <>bar")[0m (0.34ms)
> returns truthy/5 for ("foo -- bar<>")
> [32m returns truthy/5 for ("foo -- bar<>")[0m (0.34ms)
> returns nil for ("foo <>--[[ bar ]]")
> [32m returns nil for ("foo <>--[[ bar ]]")[0m (0.38ms)
> returns truthy/5 for ("foo -<>-[[ bar ]]")
> [32m returns truthy/5 for ("foo -<>-[[ bar ]]")[0m (0.34ms)
> returns truthy/5 for ("foo --<>[[ bar ]]")
> [32m returns truthy/5 for ("foo --<>[[ bar ]]")[0m (0.34ms)
> returns truthy/5 for ("foo --[<>[ bar ]]")
> [32m returns truthy/5 for ("foo --[<>[ bar ]]")[0m (0.34ms)
> returns truthy/5 for ("foo --[[<> bar ]]")
> [32m returns truthy/5 for ("foo --[[<> bar ]]")[0m (0.35ms)
> returns truthy/5 for ("foo --[[ bar <>]]")
> [32m returns truthy/5 for ("foo --[[ bar <>]]")[0m (0.33ms)
> returns truthy/5 for ("foo --[[ bar ]<>]")
> [32m returns truthy/5 for ("foo --[[ bar ]<>]")[0m (0.38ms)
> returns nil for ("foo --[[ bar ]]<>")
> [32m returns nil for ("foo --[[ bar ]]<>")[0m (0.36ms)
> returns truthy/5 for ("foo --[==[ bar ]]<>")
> [32m returns truthy/5 for ("foo --[==[ bar ]]<>")[0m (0.35ms)
> returns nil for ("foo <>---[[ bar ]]")
> [32m returns nil for ("foo <>---[[ bar ]]")[0m (0.33ms)
> returns truthy/5 for ("foo --<>-[[ bar ]]")
> [32m returns truthy/5 for ("foo --<>-[[ bar ]]")[0m (0.33ms)
> returns truthy/5 for ("foo ---<>[[ bar ]]")
> [32m returns truthy/5 for ("foo ---<>[[ bar ]]")[0m (0.33ms)
> returns truthy/5 for ("foo ---[<>[ bar ]]")
> [32m returns truthy/5 for ("foo ---[<>[ bar ]]")[0m (0.33ms)
> returns truthy/5 for ("foo ---[[<> bar ]]")
> [32m returns truthy/5 for ("foo ---[[<> bar ]]")[0m (0.33ms)
> returns truthy/5 for ("foo ---[[ bar ]]<>")
> [32m returns truthy/5 for ("foo ---[[ bar ]]<>")[0m (0.33ms)
> returns nil for ("foo --[[ -- bar ]]<>")
> [32m returns nil for ("foo --[[ -- bar ]]<>")[0m (0.36ms)
> returns nil for ("foo '--[[' <> bar ]]")
> [32m returns nil for ("foo '--[[' <> bar ]]")[0m (0.35ms)
> returns nil for ("foo [[--[[]] <> bar ]]")
> [32m returns nil for ("foo [[--[[]] <> bar ]]")[0m (0.35ms)
> returns nil for ("foo [[--[==[]] <> bar ]==]")
> [32m returns nil for ("foo [[--[==[]] <> bar ]==]")[0m (0.37ms)
> returns nil for ("foo = bar -<> baz")
> [32m returns nil for ("foo = bar -<> baz")[0m (0.32ms)
> returns nil for ("foo = bar <>- baz")
> [32m returns nil for ("foo = bar <>- baz")[0m (0.33ms)
>
> lua-skip-ws-and-comments-backward
> doesn't move point
> empty buffer: "<>"
> [32m empty buffer: "<>"[0m (0.47ms)
> at beginning of non-empty buffer: "<> --[[]]foo"
> [32m at beginning of non-empty buffer: "<> --[[]]foo"[0m (0.32ms)
> in the middle of variable: " f<>oo"
> [32m in the middle of variable: " f<>oo"[0m (0.27ms)
> at the end of variable: " foo<>"
> [32m at the end of variable: " foo<>"[0m (0.27ms)
> between variable and comment: " foo<>--"
> [32m between variable and comment: " foo<>--"[0m (0.26ms)
> at the end of single-quote string literal: " foo 'bar'<>"
> [32m at the end of single-quote string literal: " foo 'bar'<>"[0m (0.26ms)
> at the end of multi-line string literal: " foo [[bar]]<>"
> [32m at the end of multi-line string literal: " foo [[bar]]<>"[0m (0.28ms)
> inside string literal: " foo '<>bar'"
> [32m inside string literal: " foo '<>bar'"[0m (0.28ms)
> inside function call literal: " foo (<>bar)"
> [32m inside function call literal: " foo (<>bar)"[0m (0.40ms)
> within whitespace inside single-line string literal: " foo '-- <> bar'"
> [32m within whitespace inside single-line string literal: " foo '-- <> bar'"[0m (23.39ms)
> within whitespace inside multi-line string literal: " foo [[-- \n<> bar]]"
> [32m within whitespace inside multi-line string literal: " foo [[-- \n<> bar]]"[0m (0.33ms)
> moves point
> skip whitespace at the beginning of buffer: "<2> <1>"
> [32m skip whitespace at the beginning of buffer: "<2> <1>"[0m (0.28ms)
> skip ws after variable: "foo<2> <1>"
> [32m skip ws after variable: "foo<2> <1>"[0m (0.26ms)
> skip ws after function call: "foo()<2> <1>"
> [32m skip ws after function call: "foo()<2> <1>"[0m (0.27ms)
> skip newlines/tabs/spaces after variable: "foo<2> \n \n<1>"
> [32m skip newlines/tabs/spaces after variable: "foo<2> \n \n<1>"[0m (0.36ms)
> escape single-line comment and skip ws: "foo<2> -- <1>"
> [32m escape single-line comment and skip ws: "foo<2> -- <1>"[0m (0.28ms)
> escape single-line comment delimiter: "foo<2> -<1>-"
> [32m escape single-line comment delimiter: "foo<2> -<1>-"[0m (0.27ms)
> escape commented out string and skip ws: "foo<2> -- '<1>'"
> [32m escape commented out string and skip ws: "foo<2> -- '<1>'"[0m (0.27ms)
> escape commented out string and skip ws: "foo<2> -- [[<1>]]"
> [32m escape commented out string and skip ws: "foo<2> -- [[<1>]]"[0m (0.28ms)
> skip single-line comment and ws: "foo<2> -- \n<1>"
> [32m skip single-line comment and ws: "foo<2> -- \n<1>"[0m (0.34ms)
> skip several single-line comments and ws: "foo<2> -- \n--\n--\n<1>"
> [32m skip several single-line comments and ws: "foo<2> -- \n--\n--\n<1>"[0m (0.27ms)
> escape multi-line comment and skip ws: "foo<2> --[[ <1> ]]"
> [32m escape multi-line comment and skip ws: "foo<2> --[[ <1> ]]"[0m (0.32ms)
> escape multi-line comment delimiter and skip ws 1: "foo<2> -<1>-[[ ]]"
> [32m escape multi-line comment delimiter and skip ws 1: "foo<2> -<1>-[[ ]]"[0m (0.29ms)
> escape multi-line comment delimiter and skip ws 2: "foo<2> --<1>[[ ]]"
> [32m escape multi-line comment delimiter and skip ws 2: "foo<2> --<1>[[ ]]"[0m (0.28ms)
> escape multi-line comment delimiter and skip ws 3: "foo<2> --[<1>[ ]]"
> [32m escape multi-line comment delimiter and skip ws 3: "foo<2> --[<1>[ ]]"[0m (0.41ms)
> escape multi-line comment delimiter and skip ws 4: "foo<2> --[[ ]<1>]"
> [32m escape multi-line comment delimiter and skip ws 4: "foo<2> --[[ ]<1>]"[0m (0.36ms)
> skip multi-line comments and ws: "foo<2> --[[ \n\n ]]\n\n--[[ ]]<1>"
> [32m skip multi-line comments and ws: "foo<2> --[[ \n\n ]]\n\n--[[ ]]<1>"[0m (0.33ms)
> escape multi-line comment with luadoc keyword 1: "foo<2> --[[ @see foo <1>]]"
> [32m escape multi-line comment with luadoc keyword 1: "foo<2> --[[ @see foo <1>]]"[0m (0.31ms)
> escape multi-line comment with luadoc keyword 2: "foo<2> --[[ @s<1>ee foo ]]"
> [32m escape multi-line comment with luadoc keyword 2: "foo<2> --[[ @s<1>ee foo ]]"[0m (0.37ms)
> escape multi-line comment with luadoc keyword 3: "foo<2> --[[ <1>@see foo ]]"
> [32m escape multi-line comment with luadoc keyword 3: "foo<2> --[[ <1>@see foo ]]"[0m (0.30ms)
> escape single-line comment with luadoc keyword 1: "foo<2> -- @see foo <1>"
> [32m escape single-line comment with luadoc keyword 1: "foo<2> -- @see foo <1>"[0m (0.27ms)
> escape single-line comment with luadoc keyword 2: "foo<2> -- @s<1>ee foo "
> [32m escape single-line comment with luadoc keyword 2: "foo<2> -- @s<1>ee foo "[0m (0.28ms)
> escape single-line comment with luadoc keyword 3: "foo<2> -- <1>@see foo "
> [32m escape single-line comment with luadoc keyword 3: "foo<2> -- <1>@see foo "[0m (0.28ms)
> respects limit
> respect limit in whitespace: limit=3 " <2> <1>"
> [32m respect limit in whitespace: limit=3 " <2> <1>"[0m (0.27ms)
> don't move if limit is beyond point: limit=100 " <2><1> "
> [32m don't move if limit is beyond point: limit=100 " <2><1> "[0m (0.28ms)
> respect limit when escaping single-line comment: limit=5 "-- <2> <1>"
> [32m respect limit when escaping single-line comment: limit=5 "-- <2> <1>"[0m (0.27ms)
> respect limit when escaping multi-line comment: limit=5 "--[[<2> <1>]]"
> [32m respect limit when escaping multi-line comment: limit=5 "--[[<2> <1>]]"[0m (0.32ms)
> respect limit when escaping multi-line comment: limit=5 " <2>-- <1>"
> [32m respect limit when escaping multi-line comment: limit=5 " <2>-- <1>"[0m (0.34ms)
> respect limit when escaping multi-line comment: limit=5 " <2>--[[ <1>]]"
> [32m respect limit when escaping multi-line comment: limit=5 " <2>--[[ <1>]]"[0m (0.30ms)
> respect limit when escaping single-line luadoc comment: limit=5 "-- <2>@see x <1>"
> [32m respect limit when escaping single-line luadoc comment: limit=5 "-- <2>@see x <1>"[0m (0.31ms)
> respect limit when escaping multi-line luadoc comment: limit=5 "--[[<2>@see x <1>]]"
> [32m respect limit when escaping multi-line luadoc comment: limit=5 "--[[<2>@see x <1>]]"[0m (0.29ms)
>
> lua-skip-ws-and-comments-forward
> doesn't move point
> empty buffer: "<>"
> [32m empty buffer: "<>"[0m (0.26ms)
> at end of non-empty buffer: " --[[]]<>"
> [32m at end of non-empty buffer: " --[[]]<>"[0m (0.29ms)
> in the middle of variable: " f<>oo "
> [32m in the middle of variable: " f<>oo "[0m (0.27ms)
> at the beginning of variable: " <>foo "
> [32m at the beginning of variable: " <>foo "[0m (0.26ms)
> between variable and comment: " --[[]]<>foo "
> [32m between variable and comment: " --[[]]<>foo "[0m (0.30ms)
> at the end of single-quote string literal: " foo <>'bar'"
> [32m at the end of single-quote string literal: " foo <>'bar'"[0m (0.29ms)
> at the end of multi-line string literal: " foo <>[[bar]]"
> [32m at the end of multi-line string literal: " foo <>[[bar]]"[0m (0.35ms)
> inside string literal: " foo 'bar<>'"
> [32m inside string literal: " foo 'bar<>'"[0m (0.29ms)
> inside function call literal: " foo (bar<>)"
> [32m inside function call literal: " foo (bar<>)"[0m (0.30ms)
> within whitespace inside single-line string literal: " foo '-- <> bar'"
> [32m within whitespace inside single-line string literal: " foo '-- <> bar'"[0m (0.38ms)
> within whitespace inside multi-line string literal: " foo [[-- \n<>\n bar]]"
> [32m within whitespace inside multi-line string literal: " foo [[-- \n<>\n bar]]"[0m (0.30ms)
> moves point
> skip whitespace at the end of buffer: "<1> <2>"
> [32m skip whitespace at the end of buffer: "<1> <2>"[0m (0.27ms)
> skip ws before variable: "<1> <2>bar"
> [32m skip ws before variable: "<1> <2>bar"[0m (0.38ms)
> skip ws before function call: "foo<1> <2>()"
> [32m skip ws before function call: "foo<1> <2>()"[0m (0.29ms)
> skip newlines/tabs/spaces before variable: "<1> \n \n<2>foo"
> [32m skip newlines/tabs/spaces before variable: "<1> \n \n<2>foo"[0m (0.28ms)
> escape single-line comment and skip ws: "foo -- <1>\n <2>bar"
> [32m escape single-line comment and skip ws: "foo -- <1>\n <2>bar"[0m (0.27ms)
> escape single-line comment delimiter: "foo -<1>- \n <2>bar"
> [32m escape single-line comment delimiter: "foo -<1>- \n <2>bar"[0m (0.28ms)
> escape commented out string and skip ws: "foo -- '<1>' \n <2>bar"
> [32m escape commented out string and skip ws: "foo -- '<1>' \n <2>bar"[0m (15.41ms)
> escape commented out string and skip ws: "foo -- [[<1>]] \n <2>bar"
> [32m escape commented out string and skip ws: "foo -- [[<1>]] \n <2>bar"[0m (0.38ms)
> skip single-line comment and ws: "foo <1>-- \n \n <2>bar"
> [32m skip single-line comment and ws: "foo <1>-- \n \n <2>bar"[0m (0.29ms)
> skip several single-line comments and ws: "foo <1>-- \n--\n--\n \n <2>bar"
> [32m skip several single-line comments and ws: "foo <1>-- \n--\n--\n \n <2>bar"[0m (0.28ms)
> escape multi-line comment and skip ws: "foo --[[ <1> ]] <2>bar"
> [32m escape multi-line comment and skip ws: "foo --[[ <1> ]] <2>bar"[0m (0.37ms)
> escape multi-line comment delimiter and skip ws 1: "foo -<1>-[[ ]] <2>bar"
> [32m escape multi-line comment delimiter and skip ws 1: "foo -<1>-[[ ]] <2>bar"[0m (0.31ms)
> escape multi-line comment delimiter and skip ws 2: "foo --<1>[[ ]] <2>bar"
> [32m escape multi-line comment delimiter and skip ws 2: "foo --<1>[[ ]] <2>bar"[0m (0.29ms)
> escape multi-line comment delimiter and skip ws 3: "foo --[<1>[ ]] <2>bar"
> [32m escape multi-line comment delimiter and skip ws 3: "foo --[<1>[ ]] <2>bar"[0m (0.30ms)
> escape multi-line comment delimiter and skip ws 4: "foo --[[ ]<1>] <2>bar"
> [32m escape multi-line comment delimiter and skip ws 4: "foo --[[ ]<1>] <2>bar"[0m (0.32ms)
> skip multi-line comments and ws: "foo <1>--[[ \n\n ]]\n\n--[[ ]] <2>bar"
> [32m skip multi-line comments and ws: "foo <1>--[[ \n\n ]]\n\n--[[ ]] <2>bar"[0m (0.32ms)
> escape multi-line comment with luadoc keyword 1: "foo --[[ @see foo <1>]] <2>bar"
> [32m escape multi-line comment with luadoc keyword 1: "foo --[[ @see foo <1>]] <2>bar"[0m (0.31ms)
> escape multi-line comment with luadoc keyword 2: "foo --[[ @s<1>ee foo ]] <2>bar"
> [32m escape multi-line comment with luadoc keyword 2: "foo --[[ @s<1>ee foo ]] <2>bar"[0m (0.32ms)
> escape multi-line comment with luadoc keyword 3: "foo --[[ <1>@see foo ]] <2>bar"
> [32m escape multi-line comment with luadoc keyword 3: "foo --[[ <1>@see foo ]] <2>bar"[0m (0.30ms)
> escape single-line comment with luadoc keyword 1: "foo -- @see foo<1> \n <2>bar"
> [32m escape single-line comment with luadoc keyword 1: "foo -- @see foo<1> \n <2>bar"[0m (0.28ms)
> escape single-line comment with luadoc keyword 2: "foo -- @s<1>ee foo \n <2>bar"
> [32m escape single-line comment with luadoc keyword 2: "foo -- @s<1>ee foo \n <2>bar"[0m (0.27ms)
> escape single-line comment with luadoc keyword 3: "foo -- <1>@see foo \n <2>bar"
> [32m escape single-line comment with luadoc keyword 3: "foo -- <1>@see foo \n <2>bar"[0m (0.29ms)
> respects limit
> in whitespace: limit=6 " <1> <2> "
> [32m in whitespace: limit=6 " <1> <2> "[0m (0.27ms)
> don't move if limit is before point: limit=1 " <2><1> "
> [32m don't move if limit is before point: limit=1 " <2><1> "[0m (0.26ms)
> when escaping single-line comment 1: limit=8 "-- <1> <2> \n"
> [32m when escaping single-line comment 1: limit=8 "-- <1> <2> \n"[0m (0.26ms)
> when escaping single-line comment 2: limit=8 "-- <1> \n<2> "
> [32m when escaping single-line comment 2: limit=8 "-- <1> \n<2> "[0m (0.27ms)
> when escaping single-line comment 3: limit=8 "-- <1> <2>\n "
> [32m when escaping single-line comment 3: limit=8 "-- <1> <2>\n "[0m (0.26ms)
> when escaping multi-line comment 1: limit=8 "--[[<1> <2> ]] \n"
> [32m when escaping multi-line comment 1: limit=8 "--[[<1> <2> ]] \n"[0m (0.29ms)
> when escaping multi-line comment 1: limit=8 "--[[<1> ]<2>] \n"
> [32m when escaping multi-line comment 1: limit=8 "--[[<1> ]<2>] \n"[0m (0.29ms)
> when escaping multi-line comment 1: limit=8 "--[[<1> <2> ]] \n"
> [32m when escaping multi-line comment 1: limit=8 "--[[<1> <2> ]] \n"[0m (0.29ms)
> when escaping single-line luadoc comment: limit=7 "-- <1>@s<2>ee x "
> [32m when escaping single-line luadoc comment: limit=7 "-- <1>@s<2>ee x "[0m (0.29ms)
> when escaping single-line luadoc comment: limit=8 "-- <1>@se<2>e x "
> [32m when escaping single-line luadoc comment: limit=8 "-- <1>@se<2>e x "[0m (0.29ms)
> when escaping single-line luadoc comment: limit=9 "-- <1>@see<2> x "
> [32m when escaping single-line luadoc comment: limit=9 "-- <1>@see<2> x "[0m (0.27ms)
> when escaping multi-line luadoc comment: limit=7 "--[[<1>@s<2>ee x]] "
> [32m when escaping multi-line luadoc comment: limit=7 "--[[<1>@s<2>ee x]] "[0m (0.30ms)
> when escaping multi-line luadoc comment: limit=8 "--[[<1>@se<2>e x]] "
> [32m when escaping multi-line luadoc comment: limit=8 "--[[<1>@se<2>e x]] "[0m (0.29ms)
> when escaping multi-line luadoc comment: limit=9 "--[[<1>@see<2> x]] "
> [32m when escaping multi-line luadoc comment: limit=9 "--[[<1>@see<2> x]] "[0m (0.30ms)
>
> lua-find-regexp
> does not match open-bracket that is part of multiline string opener: forward
> [32m does not match open-bracket that is part of multiline string opener: forward[0m (0.34ms)
> does not match open-bracket that is part of multiline string opener: backward
> [32m does not match open-bracket that is part of multiline string opener: backward[0m (0.33ms)
> does not match close-bracket that is part of multiline string closer: forward
> [32m does not match close-bracket that is part of multiline string closer: forward[0m (0.33ms)
> does not match close-bracket that is part of multiline string closer: backward
> [32m does not match close-bracket that is part of multiline string closer: backward[0m (0.26ms)
> does not match minus that is part of comment starter: forward
> [32m does not match minus that is part of comment starter: forward[0m (0.34ms)
> does not match minus that is part of comment starter: backward
> [32m does not match minus that is part of comment starter: backward[0m (0.26ms)
>
> ========================================
> [31mlua-forward-sexp properly scans through curly braces[0m
> error: (cl-assertion-failed ((cl-every #'buttercup--wrapper-fun-p (cons arg args)) nil ((lambda nil '(looking-back (rx "x = function() return {{}} end") (line-beginning-position)) (buttercup--mark-stackframe) (looking-back "x = function() return {{}} end" (line-beginning-position))))))
>
> ========================================
> [31mlua-forward-sexp scans through then .. end block[0m
> error: (cl-assertion-failed ((cl-every #'buttercup--wrapper-fun-p (cons arg args)) nil ((lambda nil '(looking-back (rx "--[[end here]] end") (line-beginning-position)) (buttercup--mark-stackframe) (looking-back "--\\[\\[end here]] end" (line-beginning-position))))))
>
> ========================================
> [31mCheck that beginning-of-defun works with handles differed function headers[0m
> error: (cl-assertion-failed ((cl-every #'buttercup--wrapper-fun-p (cons arg args)) nil ((lambda nil '(looking-at (rx "function foobar()")) (buttercup--mark-stackframe) (looking-at "function foobar()")))))
>
> ========================================
> [31mCheck that beginning-of-defun works with accepts dots and colons[0m
> error: (cl-assertion-failed ((cl-every #'buttercup--wrapper-fun-p (cons arg args)) nil ((lambda nil '(looking-at (rx "foo.bar = function (x,y,z)")) (buttercup--mark-stackframe) (looking-at "foo\\.bar = function (x,y,z)")))))
>
> ========================================
> [31mimenu integration indexes require statements[0m
> error: (cl-assertion-failed ((cl-every #'buttercup--wrapper-fun-p (cons arg args)) nil ((lambda nil '(mapcar (lambda (item) (cons (car item) (if (listp (cdr item)) (mapcar 'car (cdr item)) -1))) (funcall imenu-create-index-function)) (buttercup--mark-stackframe) (mapcar #'(lambda (item) (cons (car item) (if (listp (cdr item)) (mapcar 'car (cdr item)) -1))) (funcall imenu-create-index-function))) (lambda nil ''(("Requires" "foo" "bar")) (buttercup--mark-stackframe) '(("Requires" "foo" "bar"))))))
>
> ========================================
> [31mTest indent-new-comment-line works with -- ...[0m
> error: (cl-assertion-failed ((cl-every #'buttercup--wrapper-fun-p (cons arg args)) nil ((lambda nil '(lua-buffer-strs (lua-insert-goto-<> '("-- foobar <>")) (execute-kbd-macro (kbd "M-j"))) (buttercup--mark-stackframe) (butlast (split-string (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (rename-buffer "temp-buffer.lua" t) (let (noninteractive) (lua-mode) (font-lock-mode 1)) (set (make-local-variable 'lua-process) nil) (set (make-local-variable 'lua-process-buffer) nil) (pop-to-buffer (current-buffer)) (unwind-protect (progn (progn (lua-insert-goto-<> '("-- foobar <>")) (execute-kbd-macro (kbd "M-j"))) (buffer-substring-no-properties (point-min) (point-max))) (if (buffer-live-p lua-process-buffer) (progn (lua-kill-process))))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) "\n" nil))) (lambda nil ''("-- foobar" "-- ") (buttercup--mark-stackframe) '("-- foobar" "-- ")))))
>
> ========================================
> [31mTest indent-new-comment-line works with ---- ....[0m
> error: (cl-assertion-failed ((cl-every #'buttercup--wrapper-fun-p (cons arg args)) nil ((lambda nil '(lua-buffer-strs (lua-insert-goto-<> '("---- foobar <>")) (execute-kbd-macro (kbd "M-j"))) (buttercup--mark-stackframe) (butlast (split-string (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (rename-buffer "temp-buffer.lua" t) (let (noninteractive) (lua-mode) (font-lock-mode 1)) (set (make-local-variable 'lua-process) nil) (set (make-local-variable 'lua-process-buffer) nil) (pop-to-buffer (current-buffer)) (unwind-protect (progn (progn (lua-insert-goto-<> '("---- foobar <>")) (execute-kbd-macro (kbd "M-j"))) (buffer-substring-no-properties (point-min) (point-max))) (if (buffer-live-p lua-process-buffer) (progn (lua-kill-process))))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) "\n" nil))) (lambda nil ''("---- foobar" "---- ") (buttercup--mark-stackframe) '("---- foobar" "---- ")))))
>
> ========================================
> [31mTest indent-new-comment-line doesn't recognize "--" inside strings and comments[0m
> error: (cl-assertion-failed ((cl-every #'buttercup--wrapper-fun-p (cons arg args)) nil ((lambda nil '(lua-buffer-strs (lua-insert-goto-<> '("\"-- \" .. foobar <>")) (execute-kbd-macro (kbd "M-j"))) (buttercup--mark-stackframe) (butlast (split-string (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (rename-buffer "temp-buffer.lua" t) (let (noninteractive) (lua-mode) (font-lock-mode 1)) (set (make-local-variable 'lua-process) nil) (set (make-local-variable 'lua-process-buffer) nil) (pop-to-buffer (current-buffer)) (unwind-protect (progn (progn (lua-insert-goto-<> '("\"-- \" .. foobar <>")) (execute-kbd-macro (kbd "M-j"))) (buffer-substring-no-properties (point-min) (point-max))) (if (buffer-live-p lua-process-buffer) (progn (lua-kill-process))))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) "\n" nil))) (lambda nil ''("\"-- \" .. foobar" "") (buttercup--mark-stackframe) '("\"-- \" .. foobar" "")))))
>
> ========================================
> [31mTest indent-new-comment-line works when the comment is empty[0m
> error: (cl-assertion-failed ((cl-every #'buttercup--wrapper-fun-p (cons arg args)) nil ((lambda nil '(lua-buffer-strs (lua-insert-goto-<> '("-- <>")) (execute-kbd-macro (kbd "M-j"))) (buttercup--mark-stackframe) (butlast (split-string (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (rename-buffer "temp-buffer.lua" t) (let (noninteractive) (lua-mode) (font-lock-mode 1)) (set (make-local-variable 'lua-process) nil) (set (make-local-variable 'lua-process-buffer) nil) (pop-to-buffer (current-buffer)) (unwind-protect (progn (progn (lua-insert-goto-<> '("-- <>")) (execute-kbd-macro (kbd "M-j"))) (buffer-substring-no-properties (point-min) (point-max))) (if (buffer-live-p lua-process-buffer) (progn (lua-kill-process))))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) "\n" nil))) (lambda nil ''("--" "--") (buttercup--mark-stackframe) '("--" "--")))))
>
> Ran 392 out of 410 specs, [31m9 failed[0m, in 665.84ms.
> buttercup-run failed: ""
> dh_elpa_test: error: buttercup -L . returned exit code 255
> make: *** [debian/rules:4: build] Error 25
The full build log is available from:
http://qa-logs.debian.net/2022/10/23/lua-mode_20210802-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221023&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
Reply to: