summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-10 22:15:44 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-10 22:15:44 +0000
commit18e6540cb0fd824989dacecc84039d91b539a101 (patch)
tree3206f510afa36f69a71f1071afbecb82e883788d
parent89707c2c8dd7068d6fe9bd7f12b389e937fe1fed (diff)
eval("...", TOPLEVEL_BINDING) is broken for us in Rubinius
(And our code is extremely nasty as well :x)

ref: http://github.com/evanphx/rubinius/issues/357
-rwxr-xr-xt/t0003-working_directory.sh6
-rw-r--r--t/t0303-rails3-alt-working_directory_config.ru.sh5
2 files changed, 11 insertions, 0 deletions
diff --git a/t/t0003-working_directory.sh b/t/t0003-working_directory.sh
index 60b85f2..53345ae 100755
--- a/t/t0003-working_directory.sh
+++ b/t/t0003-working_directory.sh
@@ -1,5 +1,11 @@
 #!/bin/sh
+if test -n "$RBX_SKIP"
+then
+        echo "$0 is broken under Rubinius for now"
+        exit 0
+fi
 . ./test-lib.sh
+
 t_plan 4 "config.ru inside alt working_directory"
 
 t_begin "setup and start" && {
diff --git a/t/t0303-rails3-alt-working_directory_config.ru.sh b/t/t0303-rails3-alt-working_directory_config.ru.sh
index b41215e..f29dbe7 100644
--- a/t/t0303-rails3-alt-working_directory_config.ru.sh
+++ b/t/t0303-rails3-alt-working_directory_config.ru.sh
@@ -1,4 +1,9 @@
 #!/bin/sh
+if test -n "$RBX_SKIP"
+then
+        echo "$0 is broken under Rubinius for now"
+        exit 0
+fi
 . ./test-rails3.sh
 
 t_plan 4 "Rails 3 (beta) inside alt working_directory (w/ config.ru)"