mirror of
https://github.com/adafruit/Adafruit_GPS.git
synced 2026-10-26 22:10:17 +00:00
Discover the C++ tests and Arduino regression sketches automatically. Run the sketches against the actual library with host serial output and timing, including marine extensions, and propagate failures and timeouts to CI. Co-authored-by: Limor Fried <ladyada@users.noreply.github.com>
11 lines
190 B
C++
11 lines
190 B
C++
// Run the same checks as the Arduino sketch and report failure to CI.
|
|
extern bool testsPassed;
|
|
void setup();
|
|
void loop();
|
|
|
|
int main() {
|
|
setup();
|
|
loop();
|
|
return testsPassed ? 0 : 1;
|
|
}
|