summaryrefslogtreecommitdiff
path: root/infra/scripts/test_neurun_interp.sh
blob: 6687e80896438fd90e468e637fb7d5265d0fecfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

[[ "${BASH_SOURCE[0]}" != "${0}" ]] && echo "Please don't source ${BASH_SOURCE[0]}, execute it" && return

CURRENT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT_PATH="$CURRENT_PATH/../../"

# Model download server setting
if [[ -z $MODELFILE_SERVER ]]; then
  echo "Need model file server setting"
  exit 1
fi

export DISABLE_COMPILE=1

cp -v ./Product/out/unittest/nnapi_gtest.skip.noarch.interp ./Product/out/unittest/nnapi_gtest.skip
./tests/scripts/test_driver.sh \
  --ldlibrarypath=$ROOT_PATH/Product/out/lib --unittest .