Skip to contentSkip to conversation

.travis.yml: Drop superfluous use of --python=python3 parameter

PATCH In review Philippe Mathieu-Daudé 3 participants 3 messages Jan 25, 2020 – Jan 27, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 .travis.yml: Drop superfluous use of --python=python3 parameter

As we require Python3 since commit ddf9069963, we don't need to explicit it with the --python=/usr/bin/python3 configure option.

---
Cc: Wainer dos Santos Moschetta <[email protected]>
Cc: Eduardo Habkost <[email protected]>
Cc: Cleber Rosa <[email protected]>

---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.travis.yml +1 -1
index 6c1038a0f1..ee93180283 100644
@@ -268,7 +268,7 @@ matrix:
 
     # Acceptance (Functional) tests
     - env:
-        - CONFIG="--python=/usr/bin/python3 --target-list=x86_64-softmmu,mips-softmmu,mips64el-softmmu,aarch64-softmmu,arm-softmmu,s390x-softmmu,alpha-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,sparc-softmmu"
+        - CONFIG="--target-list=x86_64-softmmu,mips-softmmu,mips64el-softmmu,aarch64-softmmu,arm-softmmu,s390x-softmmu,alpha-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,sparc-softmmu"
         - TEST_CMD="make check-acceptance"
       after_script:
         - python3 -c 'import json; r = json.load(open("tests/results/latest/results.json")); [print(t["logfile"]) for t in r["tests"] if t["status"] not in ("PASS", "SKIP")]' | xargs cat
Signature · 1 line
2.21.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Philippe Mathieu-Daudé

As we require Python3 since commit ddf9069963, we don't need to explicit it with the --python=/usr/bin/python3 configure option.

Quoted 7 lines

---
Cc: Wainer dos Santos Moschetta <[email protected]>
Cc: Eduardo Habkost <[email protected]>
Cc: Cleber Rosa <[email protected]>

---
  .travis.yml | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks!

Wainer

Quoted 14 lines
.travis.yml +1 -1
index 6c1038a0f1..ee93180283 100644
@@ -268,7 +268,7 @@ matrix:
 
      # Acceptance (Functional) tests
      - env:
-        - CONFIG="--python=/usr/bin/python3 --target-list=x86_64-softmmu,mips-softmmu,mips64el-softmmu,aarch64-softmmu,arm-softmmu,s390x-softmmu,alpha-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,sparc-softmmu"
+        - CONFIG="--target-list=x86_64-softmmu,mips-softmmu,mips64el-softmmu,aarch64-softmmu,arm-softmmu,s390x-softmmu,alpha-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,sparc-softmmu"
          - TEST_CMD="make check-acceptance"
        after_script:
          - python3 -c 'import json; r = json.load(open("tests/results/latest/results.json")); [print(t["logfile"]) for t in r["tests"] if t["status"] not in ("PASS", "SKIP")]' | xargs cat
#2 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 5 lines · Philippe Mathieu-Daudé

As we require Python3 since commit ddf9069963, we don't need to explicit it with the --python=/usr/bin/python3 configure option.

Queued to testing/next, thanks.

Quoted 21 lines

---
Cc: Wainer dos Santos Moschetta <[email protected]>
Cc: Eduardo Habkost <[email protected]>
Cc: Cleber Rosa <[email protected]>

---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.travis.yml +1 -1
index 6c1038a0f1..ee93180283 100644
@@ -268,7 +268,7 @@ matrix:
 
     # Acceptance (Functional) tests
     - env:
-        - CONFIG="--python=/usr/bin/python3 --target-list=x86_64-softmmu,mips-softmmu,mips64el-softmmu,aarch64-softmmu,arm-softmmu,s390x-softmmu,alpha-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,sparc-softmmu"
+        - CONFIG="--target-list=x86_64-softmmu,mips-softmmu,mips64el-softmmu,aarch64-softmmu,arm-softmmu,s390x-softmmu,alpha-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,sparc-softmmu"
         - TEST_CMD="make check-acceptance"
       after_script:
         - python3 -c 'import json; r = json.load(open("tests/results/latest/results.json")); [print(t["logfile"]) for t in r["tests"] if t["status"] not in ("PASS", "SKIP")]' | xargs cat
Signature · 1 line
Alex Bennée