X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Frun_app_tests;fp=test%2Frun_app_tests;h=0000000000000000000000000000000000000000;hb=1739800d21456ddb0b0efbf92cb6d60c6f772feb;hp=21064d9961363c86ec8a0efd89fd6b9bdcb7e148;hpb=338fe5e46223df8145b53cdf52dab358f18c7f26;p=ric-plt%2Flib%2Frmr.git diff --git a/test/run_app_tests b/test/run_app_tests deleted file mode 100644 index 21064d9..0000000 --- a/test/run_app_tests +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/env bash -# vim: ts=4 sw=4 noet : -#================================================================================== -# Copyright (c) 2020 Nokia -# Copyright (c) 2020 AT&T Intellectual Property. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -#================================================================================== -# - -# this is a simple wrapper until we figure out why CMake seems unable to start -# the run_all script in the app test directory. Even after that it will likely -# be needed because it seems impossible to set environment vars from CMake for -# the test script which makes testing alternate install locations impossible. -# So, we must jump some hoops to allow for that... - -# Hoop: -# It seems that we cannot supply env vars on the CMake generated command :( -# To deal with this, all leading positional parms of the form foo=bar are -# looked at and if we like it we'll export it before starting the test. - -while [[ $1 == *"="* ]] -do - case ${1%%=*} in - LD_LIBRARY_PATH) - export LD_LIBRARY_PATH=${1##*=} - ;; - - C_INCLUDE_PATH) - export C_INCLUDE_PATH=${1##*=} - ;; - - LIBRARY_PATH) - export LIBRARY_PATH=${1##*=} - ;; - esac - - shift -done - - -set -e -cd app_test -bash ./run_all.ksh -S # build CI likely doesn't have ksh; Run SI tests