How is this test failing?

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, LCMark

How is this test failing?

Postby mwieder » Fri Feb 10, 2017 5:12 am

on make check:

lcb/stdlib/assert.lcb:6:13: error: Parsing error: syntax error
expect true is true
^
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 2561
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US

Re: How is this test failing?

Postby livecodeali » Fri Feb 10, 2017 8:52 am

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.
livecodeali
Livecode Staff Member
Livecode Staff Member
 
Posts: 113
Joined: Thu Apr 18, 2013 2:48 pm

Re: How is this test failing?

Postby mwieder » Sat Feb 11, 2017 3:01 am

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
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 2561
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US

Re: How is this test failing?

Postby peter-b » Mon Feb 13, 2017 10:28 am

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
peter-b
 
Posts: 182
Joined: Thu Nov 20, 2014 2:14 pm
Location: LiveCode Ltd.

Re: How is this test failing?

Postby mwieder » Mon Feb 13, 2017 6:32 pm

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.
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 2561
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US

Re: How is this test failing?

Postby mwieder » Tue Feb 14, 2017 7:52 am

(talking to myself here...)

_TestSavingStandalone.stack.livecode.png


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.
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 2561
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US

Re: How is this test failing?

Postby peter-b » Mon Feb 20, 2017 11:02 am

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
peter-b
 
Posts: 182
Joined: Thu Nov 20, 2014 2:14 pm
Location: LiveCode Ltd.

Re: How is this test failing?

Postby mwieder » Mon Feb 20, 2017 11:35 pm

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 2561
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US

Re: How is this test failing?

Postby mwieder » Tue Mar 07, 2017 10:22 pm

lcb/stdlib/java.lcb:20:1: error: Unable to find imported module 'com.livecode.java'
use com.livecode.java
^
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 2561
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US


Return to Engine Contributors

Who is online

Users browsing this forum: No registered users and 1 guest

cron