Comments (13)
That means the build succeeded, but one of the unit tests failed. That particular test may well fail on operating systems other than the ones I have access to. Which OS are you using and what is the output of $ tests/hashbang.sh bin/vm fasl/bootp.fasl
?
from owl.
GNU/Linux
Alessandro Molari
On 18 Sep 2015, at 18:53, Aki Helin [email protected] wrote:
That means the build succeeded, but one of the unit tests failed. That particular test may well fail on operating systems other than the ones I have access to. Which OS are you using and what is the output of $ tests/hashbang.sh bin/vm fasl/bootp.fasl?
—
Reply to this email directly or view it on GitHub.
from owl.
That's odd. Which distribution? How about the manual run output? Does this also happen in trunk?
from owl.
Gentoo.
If I run it manually I get:
echo: resource temporary unavailable
from owl.
How about currently in trunk.
from owl.
I'm getting the same error.
If I try to manually run the failing test:
# tests/run all bin/vm fasl/bootp.fasl
I get:
Running tests/ against bin/vm fasl/bootp.fasl: o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o oERROR: tests/hashbang.sh
1d0
< ohai
ERROR: tests/hashbang.sh
from owl.
Can you check the script that the test generates and tries to run from owl-lisp/tmp. Does it work? What's in it.
from owl.
It just returns 1
(i.e. error). It doesn't print anything.
The script is: ./tmp/script-19147
and it contains:
#!/var/tmp/portage/dev-lang/owl-lisp-0.1.7/work/owl-lisp/bin/vm /var/tmp/portage/dev-lang/owl-lisp-0.1.7/work/owl-lisp/fasl/bootp.fasl
(print "ohai")
from owl.
I don't know if this means something but running:
# ./bin/vm fasl/bootp.fasl '(print "ohai")'
Outputs:
Could not find any of ((print "ohai") fasl/(print "ohai")) for loading.
And returns 1
from owl.
Ok, I was able to reproduce the bug. Turns out the kernel sets a fairly small limit for maximum hashbang line lengths, so the test failed even though there was nothing wrong in the build. The test now fakes success if the length would be over 127. Let me know it the issue persists.
If you want to run an expression from command line, you need to use ol -e (print "ohai")
. Otherwise owl will try to load a file. ol --help
shows the options.
Thanks for the bug!
from owl.
Can you release a new version for the bugfix? I'm creating an ebuild (gentoo package) for owl-lisp
and I need to use a release.
Thanks :)
from owl.
Done :)
from owl.
It works correctly.
Thanks your support has been awesome! :)
btw, the ebuilds are available here (my personal repository):
hopefully in the future they will be included in the gentoo official repository if they'll find a maintainer.
from owl.
Related Issues (20)
- with child processes, fix toggle_blocking(x, 1) on stdio HOT 7
- (owl eof) HOT 2
- there is no partial evaluation HOT 1
- Decide where to keep definition metadata
- Stream parsers should be able to resume on errors HOT 1
- Numbers are not disjoint from characters. HOT 1
- Signal handling HOT 1
- Repl syntax error handling
- Repl eval errors
- Less registers HOT 1
- Remove unused instructions from the VM HOT 2
- Quantified builds HOT 2
- increase data density on the heap HOT 2
- Macro environments and libraries HOT 1
- Undefined values when building on NetBSD HOT 1
- improve immediate loading efficiency HOT 3
- Consider getting rid of the bind instruction HOT 9
- clean-up the VM after the fasl 0.1.17 release HOT 1
- Look into Github alternatives HOT 8
- consider using dotted lists with bignum arithmetic HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from owl.