oilshell.org

Files Max Lines Total Lines Parse Failures Max Parse Time (secs) Total Parse Time (secs) Translation Failures Directory
8 14 59 0 0.11 0.82 0 ipc/

Side By Side Lines Parsed? Parse Process Time (secs) Translated? Filename
view 310 OK 0.491013 FAIL testsh1.sh
view 260 OK 0.339386 FAIL testsh2.sh

stderr

Translating testsh1.sh
        Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 358, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 301, in main
    return AppBundleMain(argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 272, in AppBundleMain
    return OshCommandMain(main_argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 156, in OshCommandMain
    osh2oil.PrintAsOil(arena, node)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 80, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 572, in DoCommand
    self.DoCommand(child, local_symbols, at_top_level=at_top_level)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 635, in DoCommand
    self.DoRedirect(r, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 344, in DoRedirect
    raise AssertionError(node.__class__.__name__)
AssertionError: redir

        
Translating testsh2.sh
        Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 358, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 301, in main
    return AppBundleMain(argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 272, in AppBundleMain
    return OshCommandMain(main_argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 156, in OshCommandMain
    osh2oil.PrintAsOil(arena, node)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 80, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 572, in DoCommand
    self.DoCommand(child, local_symbols, at_top_level=at_top_level)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 635, in DoCommand
    self.DoRedirect(r, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 344, in DoRedirect
    raise AssertionError(node.__class__.__name__)
AssertionError: redir