StanzaOrg / lbstanza-old

L.B. Stanza Programming Language
Other
216 stars 23 forks source link

Fix tests/test-trampoline for linux #152

Closed jwatson0 closed 2 years ago

jwatson0 commented 2 years ago

Fixes incorrect source for tests/test-trampoline.stanza on linux

stanza run-test build-stanza.proj tests/stanza.proj stz/test-trampoline
[Test 1] test-stanza-trampoline 
Build trampoline code
Execute trampoline code
/usr/bin/ld: /tmp/ccC8FzIn.o: in function `call1':
call-trampoline.c:(.text+0x6e9): undefined reference to `c_trampoline'
/usr/bin/ld: /tmp/ccC8FzIn.o: in function `call2':
call-trampoline.c:(.text+0x79f): undefined reference to `c_trampoline'
/usr/bin/ld: /tmp/ccC8FzIn.o: in function `call3':
call-trampoline.c:(.text+0xa88): undefined reference to `c_trampoline'
/usr/bin/ld: /tmp/ccC8FzIn.o: in function `call4':
call-trampoline.c:(.text+0xb4b): undefined reference to `c_trampoline'
collect2: error: ld returned 1 exit status
[FAIL]
  Uncaught Exception: No such file or directory
    in core/print-stack-trace
      at core/core.stanza:329.14