You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by dr...@apache.org on 2022/11/30 18:01:34 UTC

[tvm] branch main updated: [CI] Add `set -x` for demo scripts (#13523)

This is an automated email from the ASF dual-hosted git repository.

driazati pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new ab3f54d3f7 [CI] Add `set -x` for demo scripts (#13523)
ab3f54d3f7 is described below

commit ab3f54d3f72981bc5afab7f21ea3e65b9d1b34d8
Author: Eric Lunderberg <Lu...@users.noreply.github.com>
AuthorDate: Wed Nov 30 12:01:24 2022 -0600

    [CI] Add `set -x` for demo scripts (#13523)
    
    Previously, the `tests/scripts/task_demo_microtvm.sh` script prints
    the commands as they are run, but the
    `apps/microtvm/ethosu/run_demo.sh` script did not.  As a result, it
    could be difficult to tell which step stalled or failed during CI.
---
 apps/microtvm/cmsisnn/run_demo.sh | 1 +
 apps/microtvm/ethosu/run_demo.sh  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/apps/microtvm/cmsisnn/run_demo.sh b/apps/microtvm/cmsisnn/run_demo.sh
index 3b51f84183..e5d1064e6e 100755
--- a/apps/microtvm/cmsisnn/run_demo.sh
+++ b/apps/microtvm/cmsisnn/run_demo.sh
@@ -19,6 +19,7 @@
 set -e
 set -u
 set -o pipefail
+set -x
 
 # Show usage
 function show_usage() {
diff --git a/apps/microtvm/ethosu/run_demo.sh b/apps/microtvm/ethosu/run_demo.sh
index e48366e48f..7490f979b8 100755
--- a/apps/microtvm/ethosu/run_demo.sh
+++ b/apps/microtvm/ethosu/run_demo.sh
@@ -19,6 +19,7 @@
 set -e
 set -u
 set -o pipefail
+set -x
 
 # Show usage
 function show_usage() {