mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-03 23:14:15 +01:00
ci: run pio test directory
This commit is contained in:
committed by
Maxim Prokhorov
parent
cbd7064c5c
commit
a41819a28a
16
code/test/unit/basic/basic.cpp
Normal file
16
code/test/unit/basic/basic.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include <unity.h>
|
||||
#include <Arduino.h>
|
||||
|
||||
// Ensure build system works
|
||||
// ref: https://github.com/bxparks/UnixHostDuino/pull/6
|
||||
|
||||
void test_linkage() {
|
||||
pinMode(0, INPUT);
|
||||
pinMode(0, OUTPUT);
|
||||
}
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
UNITY_BEGIN();
|
||||
RUN_TEST(test_linkage);
|
||||
UNITY_END();
|
||||
}
|
||||
Reference in New Issue
Block a user