Permalink
Browse files

better test runner script

  • Loading branch information...
1 parent f78472f commit 8d6a85685d84b1a659995d1ec3f884251d3cce41 @kevmoo committed Aug 26, 2012
Showing with 16 additions and 13 deletions.
  1. +0 −13 console_test_harness.dart
  2. +5 −0 run_tests
  3. +11 −0 test/console_test_harness.dart
View
@@ -1,13 +0,0 @@
-#!/usr/bin/env dart --enable_type_checks --enable_asserts
-
-#import('package:unittest/vm_config.dart');
-
-#import('test/vote/_vote_runner.dart');
-#import('test/map/_map_runner.dart');
-
-main() {
- useVmConfiguration();
-
- runVoteTests();
- runMapTests();
-}
View
@@ -0,0 +1,5 @@
+#!/bin/bash
+PACK_DIR=`pwd`/packages/
+cmd="dart --enable_type_checks --enable_asserts --package-root=$PACK_DIR ./test/console_test_harness.dart"
+echo $cmd
+exec $cmd
@@ -0,0 +1,11 @@
+#import('package:unittest/vm_config.dart');
+
+#import('vote/_vote_runner.dart');
+#import('map/_map_runner.dart');
+
+main() {
+ useVmConfiguration();
+
+ runVoteTests();
+ runMapTests();
+}

0 comments on commit 8d6a856

Please sign in to comment.