* bin/cbc: follow last directory tree change.

* test/test_cbc.sh: ditto.


git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4019 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
Minero Aoki 2008-09-14 16:25:04 +00:00
parent 97ff5aafe0
commit bdfd802a9c
3 changed files with 16 additions and 6 deletions

View File

@ -1,3 +1,9 @@
Mon Sep 15 01:24:57 2008 Minero Aoki <aamine@loveruby.net>
* bin/cbc: follow last directory tree change.
* test/test_cbc.sh: ditto.
Mon Sep 15 01:19:36 2008 Minero Aoki <aamine@loveruby.net>
* cbc -> bin/cbc

14
bin/cbc
View File

@ -1,7 +1,11 @@
#!/bin/sh
#!/bin/bash
# cbc -- cflat compiler
basedir=`dirname "$0"`
java -classpath "$basedir/cbc.jar" \
JAVA=java
srcdir_root="$(dirname "$(dirname "$0")")"
"$JAVA" -classpath "$srcdir_root/lib/cbc.jar" \
net.loveruby.cflat.compiler.Compiler \
-I"$basedir/import" \
${@+"$@"}
-I"$srcdir_root/import" \
-L"$srcdir_root/lib" \
"$@"

View File

@ -332,7 +332,7 @@ assert_private() {
assert_eq "private" `symbol_visibility $1 $2`
}
CBC=../cbc
CBC=../bin/cbc
assert_compile_success() {
assert_status 0 $CBC "$@"