New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using test.dart results in "Unhandled exception" error. #1003
Comments
I'm running into the same issue when I run make test_jlox or make test_clox |
Got around the problem by Installing Ubuntu 20.04 under Windows Subsystem for Linux (WSL2) and doing all the following in the Ubuntu environment:
All the tests on the canonical implementations of jlox and clox ran OK (all tests passed). In consequence of all the above, I am closing this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I run any of the following commands, I get an "Unhandled exception" error:
`
D:\ci>dart tool\bin\test.dart clox --interpreter custom\clox.exe
Passed: 0 Failed: 0 Skipped: 0 (.\test\assignment\associativity.lox)Unhandled exception:
Unknown test state for '.\test\assignment\associativity.lox'.
#0 Test.parse (file:///D:/ci/tool/bin/test.dart:224:7)
#1 _runTest (file:///D:/ci/tool/bin/test.dart:160:13)
#2 _runSuite (file:///D:/ci/tool/bin/test.dart:121:5)
#3 main (file:///D:/ci/tool/bin/test.dart:87:15)
#4 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:281:32)
#5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
D:\ci>dart tool\bin\test.dart clox --interpreter custom\
Passed: 0 Failed: 0 Skipped: 0 (.\test\assignment\associativity.lox)Unhandled exception:
Unknown test state for '.\test\assignment\associativity.lox'.
#0 Test.parse (file:///D:/ci/tool/bin/test.dart:224:7)
#1 _runTest (file:///D:/ci/tool/bin/test.dart:160:13)
#2 _runSuite (file:///D:/ci/tool/bin/test.dart:121:5)
#3 main (file:///D:/ci/tool/bin/test.dart:87:15)
#4 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:281:32)
#5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
D:\ci>dart tool\bin\test.dart clox --interpreter custom
Passed: 0 Failed: 0 Skipped: 0 (.\test\assignment\associativity.lox)Unhandled exception:
Unknown test state for '.\test\assignment\associativity.lox'.
#0 Test.parse (file:///D:/ci/tool/bin/test.dart:224:7)
#1 _runTest (file:///D:/ci/tool/bin/test.dart:160:13)
#2 _runSuite (file:///D:/ci/tool/bin/test.dart:121:5)
#3 main (file:///D:/ci/tool/bin/test.dart:87:15)
#4 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:281:32)
#5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
D:\ci>
`
Dart Version Information
D:\ci>dart --version Dart SDK version: 2.14.1 (stable) (Wed Sep 8 13:33:08 2021 +0200) on "windows_x64"
Operating System
Windows 10 Version 21H1
Important Note:
I am running the canonical clox (not my own implementation) and when I run it against one of the test programs, I have no problems. For example:
`
D:\ci>custom\clox test\assignment\associativity.lox
c
c
c
D:\ci>
`
The text was updated successfully, but these errors were encountered: