summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-05-01 03:06:06 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-05-01 03:06:06 +0000
commit960ca9c7c7c98b80139c0ccf9a5d60419d2602c2 (patch)
tree92b355c0c8aeb9e4d1026244ea5d9c94afb9abe4
parentc004b31af1c3b1b721390d0f7a68537e64dc4f20 (diff)
parentc232b332c7f25e228ba0e2e77cce3d1f3ae65bfb (diff)
downloadbuild-tools-960ca9c7c7c98b80139c0ccf9a5d60419d2602c2.tar.gz
Merge "Build and run n2 tests" into main
-rwxr-xr-xbuild-prebuilts.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/build-prebuilts.sh b/build-prebuilts.sh
index da953842..5305a663 100755
--- a/build-prebuilts.sh
+++ b/build-prebuilts.sh
@@ -216,6 +216,8 @@ EOF
${musl_x86_64_sysroot} \
${musl_arm_sysroot} \
${musl_arm64_sysroot} \
+ ${SOONG_HOST_OUT}/nativetest64/n2_e2e_tests/n2_e2e_tests \
+ ${SOONG_HOST_OUT}/nativetest64/n2_unit_tests/n2_unit_tests \
${SOONG_HOST_OUT}/nativetest64/ninja_test/ninja_test \
${SOONG_HOST_OUT}/nativetest64/ckati_test/find_test \
${SOONG_HOST_OUT}/nativetest64/par_test/par_test \
@@ -224,6 +226,10 @@ EOF
# Run ninja tests
${SOONG_HOST_OUT}/nativetest64/ninja_test/ninja_test
+ # Run n2 tests
+ ${SOONG_HOST_OUT}/nativetest64/n2_unit_tests/n2_unit_tests
+ N2_PATH=${SOONG_HOST_OUT}/bin/n2 ${SOONG_HOST_OUT}/nativetest64/n2_e2e_tests/n2_e2e_tests
+
# Run ckati tests
${SOONG_HOST_OUT}/nativetest64/ckati_test/find_test