mirror of
https://gitlab.com/Luci_/arduino-photometrics.git
synced 2026-04-03 03:25:36 +02:00
clear all yaml testing changes
This commit is contained in:
parent
507f779984
commit
1a3fa5a702
|
|
@ -1,5 +1,4 @@
|
|||
# Arduino-Photometrics ![CI][]
|
||||
|
||||
# Arduino-Photometrics <!-- ![CI][] -->
|
||||
**Arduino-photometrics** is sub-part of **Robot Go West**, this project aim to collect lighting data of location for training a prediction model for retrieve the location of the sun.
|
||||
|
||||
The embedded part is made in **C++**, the update RTC time file and the extraction data measure file are made in **Python**.
|
||||
|
|
|
|||
|
|
@ -17,17 +17,9 @@ test_framework = unity
|
|||
build_flags =
|
||||
-std=gnu++17
|
||||
-I lib/
|
||||
;-D DEBUG
|
||||
;-D DEBUG
|
||||
|
||||
lib_deps =
|
||||
northernwidget/DS3231@^1.1.2
|
||||
|
||||
test_filter =
|
||||
-<DS3231>
|
||||
-<Wire>
|
||||
|
||||
lib_ldf_mode = deep+
|
||||
|
||||
test_lib_deps =
|
||||
ThrowTheSwitch/Unity@^2.6.0
|
||||
|
||||
extra_scripts = pre:test_init.py
|
||||
lib_ldf_mode = deep+
|
||||
|
|
@ -325,15 +325,11 @@ void tearDown(void) {
|
|||
}
|
||||
|
||||
void setup(void){
|
||||
Serial.begin(115200);
|
||||
|
||||
delay(2000);
|
||||
Serial.begin(9600);
|
||||
}
|
||||
|
||||
//WARNING: Tests are not exhaustive and do not cover all possibilities.
|
||||
int main( int argc, char **argv) {
|
||||
// Serial.begin(9600);
|
||||
TEST_MESSAGE("Debuts des tests.");
|
||||
UNITY_BEGIN();
|
||||
// The following commented test is here for faciltate the debug "test_get_measure_at", test_get_measure is private function for the storage_interface class
|
||||
// Maybe removed later
|
||||
|
|
|
|||
12
test_init.py
12
test_init.py
|
|
@ -1,12 +0,0 @@
|
|||
# test_init.py
|
||||
|
||||
Import("env")
|
||||
test_env_name = env["PIOENV"]
|
||||
|
||||
# Injecte manuellement les chemins d'inclusion nécessaires (Unity et votre config)
|
||||
env.Append(
|
||||
CPPPATH=[
|
||||
"test",
|
||||
".pio/libdeps/" + test_env_name + "/Unity/src"
|
||||
]
|
||||
)
|
||||
Loading…
Reference in a new issue