How is this test failing?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
How is this test failing?
on make check:
lcb/stdlib/assert.lcb:6:13: error: Parsing error: syntax error
expect true is true
^
lcb/stdlib/assert.lcb:6:13: error: Parsing error: syntax error
expect true is true
^
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
-
- Livecode Staff Member
- Posts: 192
- Joined: Thu Apr 18, 2013 2:48 pm
Re: How is this test failing?
I think the only way that could happen is if your lc-compile is out of date. Try trashing the cached build products (lc-compile, lc-bootstrap-compile, etc) and make all again.
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: How is this test failing?
Ali-
Thanks. That did the trick.
now I'm up to
ERROR[Load Modules]: module format not supported
ERROR: ../_tests/_build/lcb/compiler/bytecode.lcm: Failed to list handlers
Thanks. That did the trick.
now I'm up to
ERROR[Load Modules]: module format not supported
ERROR: ../_tests/_build/lcb/compiler/bytecode.lcm: Failed to list handlers
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
Re: How is this test failing?
I think there are some missing dependency rules in the build system at the moment. You may have to nuke it from orbit:
Code: Select all
rm -rf linux-x86_64-bin build-linux-x86_64
LiveCode Open Source Team — @PeterTBBrett — peter.brett@livecode.com
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: How is this test failing?
Thanks. That's what I did to get this far. But I'll do it again to see if a second pass helps.
Update: second pass fixed things up.
So yeah, it does look like there's still something in the scripts, but there's a workaround.
Update #2:
so cleaning out both directories allowed me to compile with no errors, but that brought me back to the error in tests:
ERROR[Load Modules]: module format not supported
ERROR: ../_tests/_build/lcb/compiler/bytecode.lcm: Failed to list handlers
make[2]: *** [lcb-check] Error 1
The missing piece was
rm -rf _tests
and then rerunning 'make check'. I'm guessing the .lcm files were the old format.
Standalone tests are failing (TestStandaloneInclusions, TestSavingStandalone) but I see that's a WIP.
And I had to intervene manually twice because of stackFileVersion problems, and the debugger popped up on a revDeleteSomethig error.
Update: second pass fixed things up.
So yeah, it does look like there's still something in the scripts, but there's a workaround.
Update #2:
so cleaning out both directories allowed me to compile with no errors, but that brought me back to the error in tests:
ERROR[Load Modules]: module format not supported
ERROR: ../_tests/_build/lcb/compiler/bytecode.lcm: Failed to list handlers
make[2]: *** [lcb-check] Error 1
The missing piece was
rm -rf _tests
and then rerunning 'make check'. I'm guessing the .lcm files were the old format.
Standalone tests are failing (TestStandaloneInclusions, TestSavingStandalone) but I see that's a WIP.
And I had to intervene manually twice because of stackFileVersion problems, and the debugger popped up on a revDeleteSomethig error.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: How is this test failing?
(talking to myself here...)
The tests for saving standalones are failing, apparently because the stackFileVersion is being set to 2.4, and my preferences are set to preserve stack file formats.
This requires manual intervention to allow the test(s) to continue.
Selecting 7.0 seems to be the proper response here.
And yes, I did remove both standalonebuilder/* directories before running the tests.
The tests for saving standalones are failing, apparently because the stackFileVersion is being set to 2.4, and my preferences are set to preserve stack file formats.
This requires manual intervention to allow the test(s) to continue.
Selecting 7.0 seems to be the proper response here.
And yes, I did remove both standalonebuilder/* directories before running the tests.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
Re: How is this test failing?
Hmm, we should probably get the IDE to ignore user preference files when running the IDE tests. Could you please file a bug report about it for us please?
LiveCode Open Source Team — @PeterTBBrett — peter.brett@livecode.com
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: How is this test failing?
lcb/stdlib/java.lcb:20:1: error: Unable to find imported module 'com.livecode.java'
use com.livecode.java
^
use com.livecode.java
^
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev