about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKaDiWa <kalle.wachsmuth@gmail.com>2022-12-26 00:33:32 +0100
committerKaDiWa <kalle.wachsmuth@gmail.com>2022-12-26 00:33:32 +0100
commit9bf4036d17eccc9d39d1ef64f7f3f0b68fb3dfdc (patch)
tree7277e2a7818f46d03365a5e241790f15abf373a4 /src
parentd9ee0f468f8d07e92da94fe991db91e95822d721 (diff)
downloadrust-9bf4036d17eccc9d39d1ef64f7f3f0b68fb3dfdc.tar.gz
rust-9bf4036d17eccc9d39d1ef64f7f3f0b68fb3dfdc.zip
readme: update section on how to run x.py
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ci/run.sh10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/ci/run.sh b/src/ci/run.sh
index f05bb81d4a1..b6430027750 100755
--- a/src/ci/run.sh
+++ b/src/ci/run.sh
@@ -45,14 +45,6 @@ fi
 ci_dir=`cd $(dirname $0) && pwd`
 source "$ci_dir/shared.sh"
 
-if command -v python > /dev/null; then
-    PYTHON="python"
-elif command -v python3 > /dev/null; then
-    PYTHON="python3"
-else
-    PYTHON="python2"
-fi
-
 if ! isCI || isCiBranch auto || isCiBranch beta || isCiBranch try || isCiBranch try-perf; then
     RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.print-step-timings --enable-verbose-tests"
     RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.metrics"
@@ -201,7 +193,7 @@ if [ "$RUN_CHECK_WITH_PARALLEL_QUERIES" != "" ]; then
     mv metrics.json build
   fi
 
-  CARGO_INCREMENTAL=0 $PYTHON ../x.py check
+  CARGO_INCREMENTAL=0 ../x check
 fi
 
 sccache --show-stats || true