       if(Serial.read() != -1)
         return;
     }
+    
+#if RUN_REPEATEDLY
+    return;
+#endif
   }
 }
 

    if(!result) {
      Serial.println("FAIL");
      Serial.println(err);
      return i + 1;
    } else {
      Serial.println("OK");
    }
  }
  return 0;
}

void error_code(int code) {

}

int run_tests() {
#if RUN_REPEATEDLY
  // Persist any errors we see between runs
  static int first_failure = 0;
#else
  int first_failure = 0;
#endif

  for(int i = 0; tests[i].func != NULL; i++) {    
    Tsunami.begin();
    
