oilshell.org

Side By Side Lines Parsed? Parse Process Time (secs) Internal Parse Time (secs) Parsed Lines/sec Translated? Filename
view 8 OK 0.1 0.1 80.0 OK helper.sh
view 19 OK 0.11 0.11 172.7 OK mock-cmd.sh
view 3 OK 0.07 0.07 42.9 FAIL require_me.sh
view 120 OK 0.23 0.23 521.7 FAIL test-action.sh
view 43 OK 0.13 0.13 330.8 OK test-alias.sh
view 44 OK 0.16 0.16 275.0 OK test-bashdb-trace.sh
view 103 OK 0.22 0.22 468.2 FAIL test-break.sh
view 32 OK 0.09 0.09 355.6 OK test-cmd-complete.sh
view 31 FAIL 0.09 - - FAIL test-cmd-eval.sh
view 52 OK 0.15 0.15 346.7 OK test-columns.sh
view 66 OK 0.16 0.16 412.5 OK test-eval.sh
view 112 OK 0.32 0.32 350.0 OK test-file.sh
view 82 OK 0.19 0.19 431.6 FAIL test-filecache.sh
view 174 FAIL 0.16 - - FAIL test-fns.sh
view 182 FAIL 0.08 - - FAIL test-frame.sh
view 49 OK 0.12 0.12 408.3 OK test-get-sourceline.sh
view 23 OK 0.14 0.14 164.3 OK test-io.sh
view 66 OK 0.14 0.14 471.4 OK test-lib-eval.sh
view 73 OK 0.18 0.18 405.6 OK test-lib-list.sh
view 40 OK 0.13 0.13 307.7 OK test-msg.sh
view 39 OK 0.11 0.11 354.5 OK test-pre.sh
view 27 OK 0.12 0.12 225.0 OK test-require.sh
view 26 FAIL 0.1 - - FAIL test-run.sh
view 35 OK 0.1 0.1 350.0 OK test-save-restore.sh
view 32 OK 0.12 0.12 266.7 OK test-set0.sh
view 56 OK 0.17 0.17 329.4 FAIL test-sort.sh
view 75 OK 0.19 0.19 394.7 OK test-validate.sh

stderr

Translating test-break.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 549, in DoCommand
    self.DoAssignment(node, at_top_level, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 463, in DoAssignment
    self.DoWordAsExpr(pair.rhs, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 820, in DoWordAsExpr
    self.DoWordInCommand(node, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 989, in DoWordInCommand
    self.DoWordPart(part, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 999, in DoWordPart
    span_id = word.LeftMostSpanForPart(node)
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Parsing test-run.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating test-run.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating test-filecache.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 549, in DoCommand
    self.DoAssignment(node, at_top_level, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 463, in DoAssignment
    self.DoWordAsExpr(pair.rhs, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 820, in DoWordAsExpr
    self.DoWordInCommand(node, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 989, in DoWordInCommand
    self.DoWordPart(part, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 999, in DoWordPart
    span_id = word.LeftMostSpanForPart(node)
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating test-action.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 549, in DoCommand
    self.DoAssignment(node, at_top_level, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 463, in DoAssignment
    self.DoWordAsExpr(pair.rhs, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 820, in DoWordAsExpr
    self.DoWordInCommand(node, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 989, in DoWordInCommand
    self.DoWordPart(part, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 999, in DoWordPart
    span_id = word.LeftMostSpanForPart(node)
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Parsing test-cmd-eval.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating test-cmd-eval.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Parsing test-frame.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating test-frame.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Parsing test-fns.sh
        Line 109 of '/home/andy/src/bashdb-4.4-0.92/test/unit/test-fns.sh'
      typeset -a words=( $(_Dbg_parse_linespec 'foo:4') )
                         ^~
Unexpected array literal: (CompoundWord
  parts: [
    (ArrayLiteralPart
      words: [
        (CompoundWord
          parts: [
            (CommandSubPart
              command_list: 
                (CommandList
                  children: [
                    (SimpleCommand
                      words: [
                        (CompoundWord
                          parts: [
                            (LiteralPart
                              token: (token id:Lit_Chars val:_Dbg_parse_linespec span_id:635)
                            )
                          ]
                        )
                        (CompoundWord
                          parts: [
                            (SingleQuotedPart
                              tokens: [(token id:Lit_Chars val:"foo:4" span_id:638)]
                            )
                          ]
                        )
                      ]
                    )
                  ]
                )
              left_token: (token id:Left_CommandSub val:"$(" span_id:634)
              spids: [634 640]
            )
          ]
        )
      ]
    )
  ]
)
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---

        
Translating test-fns.sh
        Line 109 of '/home/andy/src/bashdb-4.4-0.92/test/unit/test-fns.sh'
      typeset -a words=( $(_Dbg_parse_linespec 'foo:4') )
                         ^~
Unexpected array literal: (CompoundWord
  parts: [
    (ArrayLiteralPart
      words: [
        (CompoundWord
          parts: [
            (CommandSubPart
              command_list: 
                (CommandList
                  children: [
                    (SimpleCommand
                      words: [
                        (CompoundWord
                          parts: [
                            (LiteralPart
                              token: (token id:Lit_Chars val:_Dbg_parse_linespec span_id:635)
                            )
                          ]
                        )
                        (CompoundWord
                          parts: [
                            (SingleQuotedPart
                              tokens: [(token id:Lit_Chars val:"foo:4" span_id:638)]
                            )
                          ]
                        )
                      ]
                    )
                  ]
                )
              left_token: (token id:Left_CommandSub val:"$(" span_id:634)
              spids: [634 640]
            )
          ]
        )
      ]
    )
  ]
)
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---

        
Translating require_me.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 609, in DoCommand
    self.DoArithExpr(node.child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 1196, in DoArithExpr
    raise AssertionError(node.__class__.__name__)
AssertionError: UnaryAssign

        
Translating test-sort.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 549, in DoCommand
    self.DoAssignment(node, at_top_level, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 463, in DoAssignment
    self.DoWordAsExpr(pair.rhs, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 820, in DoWordAsExpr
    self.DoWordInCommand(node, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 989, in DoWordInCommand
    self.DoWordPart(part, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 999, in DoWordPart
    span_id = word.LeftMostSpanForPart(node)
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range