-
Notifications
You must be signed in to change notification settings - Fork 25
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
failing tests #34
Comments
2 questions:
|
Just an FYI: I took a fresh clone, and did an I tried the cmake process (on Gentoo Linux) and diid not get a working jconsole. I took a fresh clone again, and tried the Autotools process (on Linux). Conclusion: The cause of the problems is earlier than the Feb 3, 2012 commit done at 15:15:09 |
Before make install, there is conventionally a make test. This implies it should be possible to run jconsole without make install. I settled on using cmake. Ta, jack. Sent from my iPhone On 02/04/2012, at 1:24 AM, Tom [email protected] wrote:
|
Figured out why I was not getting a working jconsole when using the cmake approach: |
Compiling on Arch Linux 64-bit, I get segfaults on g000i, g222i, g331ins, g420, and gbpar.ijs. It looks like this happens when a lot of comparisons (and possible other boolean operators) are done using rank. I'll look into the special code for =, >:, etc. when I have the chance. I get testing failures on 23 files, but I never got a clean build with this source, and this doesn't seem like more than I had in the beginning. We need a place to post, compare, sort, and address test results. What does Github have to accommodate this? |
gIthub doesn't have much more than "issues", "messages" and "wiki" as far i have reports that all test cases pass with the original source release, ta, jack. |
I tried git checkout fd62083 Using cmake: got segfault on gstack, and exit to bash. |
failures on which is from 28 Mar 2011: BAD ddall jack@ubuntu:~/core$ git diff CMakeLists.txt add_library(j SHARED ${libj_SRCS}) set_target_properties(j PROPERTIES COMPILE_FLAGS "-fPIC -O3 -fno-strict-aliasin+target_link_libraries(j ${jconsole_LIBS}) |
using autoreconf -i on git checkout 34bb7c0 #Mar 23 BAD ddall |
Just as a check that nothing changed in my environment that is affecting the tests, |
With git checkout b7c66ba tom@xps /usr/local/core $ sudo touch .c This indicates that the full tarball was not initially loaded, but this may have been rectified in later commits. |
tom@xps /usr/local/core $ sudo git checkout c75fa0a HEAD is now at c75fa0a... builds jconsole This is the commit of 7 Mar 2011 at 9:43 which is labelled "builds jconsole" |
12 Mar 2011 08:57:59 (Clean up minor whitespace issues). Get same results: tom@xps /usr/local/core $ sudo git checkout 5084cb3 HEAD is now at 5084cb3... Clean up minor whitespace issues. |
BTW: The "Gist" capability in github looks like it may help here. |
In the initial load of the tarball into github, the "makefile" was not included. |
There was also no j/system/defs directory setup in the initial github load. |
Summary of findings so far: Procedure: Took checkout of the initial load of tarball to github. Then:
Results:
|
Nice work. Got a fix? The missing Makefile had to do with git not liking an existing Makefile when auto tools also generates it. Maybe if I worked in a git shop, I'd appreciate it more, but I just don't like it. Should have gone with hg on google or bzr on launch pad. But bugs sound like j can't find files where it expects them... Aargh Sent from my iPhone On 04/04/2012, at 12:18 AM, Tom [email protected] wrote:
|
Don't have access to my Linux box till very late tonight. |
Created a branch named "jsrc" in public repository "tavmem/core". |
Hi Tom, Thanks so much for identifying the problem. While the failures may have an explanation, this exercise has highlighted the lack of basic quality control openj has. A solution i'm considering is for all tests to pass on all platforms, by having a number of people, each with one or more of the platforms we support, to pull in requests and run the tests. Ideally, automated via email, but initially, we can automate sending an email to volunteers, and volunteers manually responding after they have run the tests. Meanwhile, I'll work on Thanks Again. |
Hi Jack - Re: "The missing Makefile had to do with git not liking an existing Makefile when auto tools also generates it." Similar problem arose in branch "jsrc" of tavmem/core with the file j/system/defs/hostdefs_linux.ijs. I expect a similar procedure would work to discard an Autotools generated Makefile that was not to be retained. Tom |
Tom - seeing as how you're doing such good work, can you take over the processes to run tests, and fix the install so that the tests pass before and after install? I'm having trouble finding the time - and to re-acquaint myself with core source. No problem if you can't. Nice work with the test code and the cygwin port! |
Hi Jack - I can certainly volunteer to work on these issues. Several caveats:
BTW: Still have work to do on the cygwin port:
That being said, I'd be happy to have a go at it (or at least help out). |
I can help with that. Itts not so hard btw. |
That would be great. Thanks !! |
Hi Jack - Just put in the latest commit to tavmem/core (the jsrc branch). Tom |
Hi Tom, Thanks for this contribution. Being able to test a build is Programming-101 If you are able, please continue to develop so that you can test a local Again, Thanks. Jack. On Wed, Apr 11, 2012 at 4:00 AM, Tom Szczesny <
|
OK: The latest commit to branch jscr of tavmem/core.git has: Tom |
Hi Jack - When running the test scripts in 32-bit Linux w/o the makefile: When using "make check" or "make test" 5 additional scripts fail (g18x gnan gpco gpci gpick). Tom |
now that is weird. it seems clear to me that there is a difference between but try running the new jconsole and type just in case ta, jack On Wed, Apr 11, 2012 at 10:09 PM, Tom Szczesny <
|
Autotools is not building the binaries. The procedure is: My hypothesis is that it has something to do with the nature of the shell task that is invoked. If, from a cygwin bash shell I do: Exit from J. Then, from a cygwin bash shell do: These are the same 5 additional failures I got in 32-bit Linux (with "make test"). Note: "make test" executes |
More interesting resuts: If I start up J in cygwin and execute If I start up J and execute The extra 5 failures are always g18x gnan gpco gpi gpick |
This is no good.
One problem is the lack of a
make test
. In fact, the lack of a working jconsole without having tomake install
is a problem, too. In future, openj requires amake test
report for at least linux and windows -- ideally, we borrow a build-and-test farm from somewhere to automate the checking of all pull requests on all platforms.Nothing but bug-fixes or reverts until we're clean.
The text was updated successfully, but these errors were encountered: