2 # SPDX-license-identifier: Apache-2.0
3 ##############################################################################
4 # Copyright 2019 © Samsung Electronics Co., Ltd.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
15 # install_deps() - Install dependencies required for functional tests
16 function install_deps {
17 if ! $(jq --version &>/dev/null); then
18 source /etc/os-release || source /usr/lib/os-release
23 sudo apt-get install -y jq