Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit702a49b

Browse files
committed
Fix for travis test without config variables
1 parent6614c87 commit702a49b

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
voidsetup() {

‎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
forexamplein`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 definedin 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)

[8]ページ先頭

©2009-2025 Movatter.jp