public static void main( String args[] ){
    MiniDB_Util.canWait = false;
    MiniDB_grade grader = new MiniDB_grade();

    double totalPoints = 0;
    double pointsByTest[] = new double[NUM_TESTS+1];

    System.err.println( "Test starting up" );

    if( args[0].equals( "-all" ) ){
      
      boolean skipTest[] = new boolean[NUM_TESTS+1];
      for (int i=1; i<args.length; i++){
	int t = Integer.parseInt( args[i] );
	skipTest[t] = true;
      }
      
      for (int i=1; i<=NUM_TESTS; i++){
	if( skipTest[i] ){
	  System.out.println( "Skipping Test " + i );
	}
	else{
	  pointsByTest[i] = grader.runTest(i);
	  System.out.println( "\n" );
	  totalPoints += pointsByTest[i];
	}
      }

      System.out.println( "\nSUMMARY" );
      for (int i=1; i<=NUM_TESTS; i++){
	//if( i == NUM_TESTS ) System.out.println( "Extra Credit" );
	System.out.println( " Test" + i + "... " + pointsByTest[i] + " of " + maxByTest[i] );
      }
      System.out.println( " ----------------" );
      System.out.println( " TOTAL --> " + totalPoints + " of " + maxTotal );

    }
    else{
      int test = Integer.parseInt(args[0]);

      double points = 0;

      points = grader.runTest(test);

      System.out.println( "" + points + " points for test " + test );
    }


  }