blob: a86518106499757c6a4f9f6d75cde7bd00a0f40e [file] [log] [blame]
#!/bin/bash
# Copyright 2017 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
source "$(cd "${script_dir}/../../../../../tools/devshell" && pwd)"/lib/vars.sh || exit $?
fx-config-read
case "$1" in
intel)
fx-command-run test --no-build --simple -o \
magma_unit_tests \
msd_intel_gen_nonhardware_tests \
mesa_unit_tests \
state_pool \
state_pool_free_list_only \
state_pool_no_free \
block_pool_no_free \
magma-abi-conformance-tests \
msd_intel_gen_integration_tests \
icd_load \
vkreadback \
vkloop \
vkext_unprotected
;;
mali)
fx-command-run test --no-build --simple -o \
magma_unit_tests \
msd_arm_mali_nonhardware_tests \
magma-abi-conformance-tests-arm \
msd_arm_mali_integration_tests \
icd_load \
vkreadback \
vkloop \
vkext_protected \
vkext_unprotected \
vk_timer_query_tests
;;
pvr)
fx-command-run test --no-build --simple -o \
magma_unit_tests \
msd_img_rgx_nonhardware_tests \
magma-abi-conformance-tests \
msd_img_rgx_integration_tests \
msd_img_rgx_no_hardware_integration_tests
;;
vsi)
fx-command-run test --simple -o \
magma_unit_tests \
msd_vsi_vip_nonhardware_tests \
magma-abi-conformance-tests-vsi \
msd-vsi-vip-integration-tests \
test-magma-vsi-exec \
;;
*)
echo >&2 "unknown gpu: $1"
echo >&2 "usage: $0 [intel|mali|pvr|vsi]"
exit 1
;;
esac