Permalink
Browse files

Adding run.sh instead of run.py (hacky, will find the way back)

--HG--
branch : sneakylang
  • Loading branch information...
1 parent 568067f commit 7ed28c9c56ed7de42846e8fc18adf3fb33b4a262 almad committed Mar 24, 2009
Showing with 3 additions and 14 deletions.
  1. +0 −13 sneakylang/test/run.py
  2. +2 −0 sneakylang/test/run.sh
  3. +1 −1 sneakylang/test/test_regressions.py
View
@@ -1,13 +0,0 @@
-#!/usr/bin/env python
-
-import os
-import sys
-
-import nose
-
-WORKING_DIR = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), os.pardir, os.pardir))
-
-if __name__ == "__main__":
- if not WORKING_DIR in sys.path:
- sys.path.insert(0, WORKING_DIR)
- nose.run_exit()
View
@@ -0,0 +1,2 @@
+#!/bin/sh
+for i in `ls test*py`; do nosetests $i; done;
@@ -9,7 +9,7 @@
# not run
from sneakylang.node import TextNode
-from sneakylang.parser import *
+from sneakylang.parser import parse
from sneakylang.register import Register, RegisterMap
from sneakylang.expanders import expand, TextNodeExpander

0 comments on commit 7ed28c9

Please sign in to comment.