Comments (4)
No idea why, but the DEBUG= environment variable plays a part here.
make test DEBUG= passes, but 'make test' fails.
$ DEBUG= ./bin/potion test/tutorial/07_subclass.pn
My name is nil and I'm a Constable.
vs
$ ./bin/potion test/tutorial/07_subclass.pn
Policeman
But the travis-ci fails for DEBUG=1 and DEBUG=0..
from potion.
This has nothing to do with DEBUG either!
$ ./bin/potion test/tutorial/07_subclass.pn
Policeman
$ ./bin/potion test/tutorial/07_subclass.pn WILL_THIS_WORK
My name is nil and I'm a Constable.
$ MAKE_IT_WORK=1 ./s.pn otion test/tutorial/07_subclass
My name is nil and I'm a Constable.
from potion.
$ ./bin/potion -V test/tutorial/07_subclass.pn &> broken.txt
$ WORKS=1 ./bin/potion -V test/tutorial/07_subclass.pn &> works.txt
$ diff works.txt broken.txt
6c6
< -- jit returned 0x1100ab000 (fixed=79960, actual=143928, reserved=262144, time=0ms 0x/0m/0i) --
---
> -- jit returned 0x1005c7000 (fixed=79936, actual=143528, reserved=262144, time=0ms 0x/0m/0i) --
108c108
< [25] msg 0 1
---
> [25] bind 0 1
119c119
< My name is nil and I'm a Constable.
---
> Policeman
So in the working version, a 'msg' instruction is used instead of 'bind'. Still no idea why that's happening though.
from potion.
When I restarted my shell.. this disappeared. So I have no idea.
from potion.
Related Issues (20)
- Problem with potion installation HOT 2
- Make fails HOT 4
- Migrate LGTM.com installation from OAuth to GitHub App
- Make fails HOT 1
- 1 out of 282 tests failed HOT 3
- Unable to build with the new -D_FORTIFY_SOURCE=2 HOT 3
- When building under vagrant/precise32, build succeeds but some tests, examples fail HOT 3
- wrong x-1 parsing precedence, whitespace
- numeric compare in wrong integer context HOT 2
- change numcmp for eq and neq
- call on nil segfaults HOT 7
- call on nil methods silently fail HOT 3
- Installation issue HOT 4
- callset on nil segfaults HOT 2
- fatal: Not a git repository (or any of the parent directories): .git HOT 1
- compile: unknown builtin '__builtin_saddl_overflow' HOT 4
- More segmentation faults HOT 7
- Comparison between String and number does not work as expected HOT 1
- replace mersenne twister by pcg
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 potion.