Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 702a49b

Browse files
committed
Fix for travis test without config variables
1 parent 6614c87 commit 702a49b

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

examples/Firething_ESP8266/Firething_ESP8266.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
#include <ESP8266WiFi.h>
2424
#include <Thing.h>
2525

26+
// No config variables.
27+
// Everything is handled through portal.
28+
2629
thing::FireThing fire_thing;
2730

2831
void setup() {

test/travis/check_all_examples_use_standard_init.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
#!/bin/bash
22
FBASE_SNIPPET=test/travis/firebase_init.cc.snip
33
FBASE_NOAUTH_SNIPPET=test/travis/no_firebase_init.cc.snip
4+
FBASE_NOCONFIG_SNIPPET=test/travis/no_config_init.cc.snip
45
for example in `find examples/ -name *.ino`;
56
do
67
echo $example;
78
(xxd -p $example | tr -d '\n' | grep -q `xxd -p $FBASE_SNIPPET | tr -d '\n'`) ||
89
(xxd -p $example | tr -d '\n' | grep -q `xxd -p $FBASE_NOAUTH_SNIPPET | tr -d '\n'`) ||
10+
(xxd -p $example | tr -d '\n' | grep -q `xxd -p $FBASE_NOCONFIG_SNIPPET | tr -d '\n'`) ||
911
if [ $? -ne 0 ];
1012
then
1113
echo $example does not contain standard defined in test/travis/*_init.cc.snip.

test/travis/no_config_init.cc.snip

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// No config variables.

0 commit comments

Comments
 (0)