Merge branch 'bugfix/ci_examples_list_order' into 'master'

Make the list of examples permanent between jobs
because the results of the 'find' command are not sorted by name.

Fix the identified problem on master

See merge request !1036
This commit is contained in:
Anton Maklakov 2017-07-20 18:32:56 +08:00
commit d515eeac6a
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@
#include <stdio.h>
#include <string.h>
#include "nvs.h"
#include "nvs_flash.h"
#include "bt.h"
#include "driver/uart.h"
#include "esp_log.h"

View file

@ -134,7 +134,7 @@ build_example () {
EXAMPLE_NUM=0
find ${IDF_PATH}/examples/ -type f -name Makefile | \
find ${IDF_PATH}/examples/ -type f -name Makefile | sort | \
while read FN
do
if [[ $EXAMPLE_NUM -lt $START_NUM || $EXAMPLE_NUM -ge $END_NUM ]]