]> granicus.if.org Git - esp-idf/commitdiff
ci: fix test build system when using template repository from a
authorDavid Cermak <cermak@espressif.com>
Mon, 9 Sep 2019 09:48:24 +0000 (11:48 +0200)
committerDavid Cermak <cermak@espressif.com>
Mon, 30 Sep 2019 07:54:24 +0000 (09:54 +0200)
different branch then master

tools/ci/test_build_system.sh
tools/ci/test_build_system_cmake.sh

index 667691de0612e0a1b0b79f2bb91b78bca7520e68..2dcff749686589b4862c84b29342d8fe9555bb26 100755 (executable)
@@ -46,7 +46,7 @@ function run_tests()
     if [ -z $CHECKOUT_REF_SCRIPT ]; then
         git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
     else
-        $CHECKOUT_REF_SCRIPT esp-idf-template
+        $CHECKOUT_REF_SCRIPT esp-idf-template .
     fi
 
     print_status "Updating template config..."
index 9a84240651b2c7b083f9ec6459882919d3bd411b..0e4ed47362b83beee0d8545bbda0f835ae6e0687 100755 (executable)
@@ -48,7 +48,7 @@ function run_tests()
     if [ -z $CHECKOUT_REF_SCRIPT ]; then
         git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
     else
-        $CHECKOUT_REF_SCRIPT esp-idf-template
+        $CHECKOUT_REF_SCRIPT esp-idf-template .
     fi
 
     print_status "Try to clean fresh directory..."