#!/bin/bash
###############################################################################
# Arcv-test
# 
# Copyright (c) 2026 Michel MEHL. All rights reserved. 
# 
# License terms written down in file LICENSE.txt
# Release file path: dock-debug-app
# Release file date: 2026-09-18 00:19
# App version: 1.2.1
# App source revision: 240
# App source signature: 3170c50859b24b58ba4cb895ee2d9f3f872ba2b33bdcdd3cafaf9830081aca1c
# Source file last modification: 2026-08-25 12:12:09.880634081 +0200
#
# This header was generated. Do not modify.
#
# ------------------------------------------------------------------------------
#
# ------------------------------------------------------------------------------
# 
# Report bugs and suggestions: 
#     assistance@slashetc.fr
# 
# Specific or corporate requirements or extensions: 
#     info@slashetc.fr
# 
# The author is overall not required to provide maintenance or support 
# outside specific commercial terms agreed.
# 
###############################################################################
APP=arcv

export PATH=/usr/bin/${APP}:/usr/bin/${APP}-test:$PATH
export PATH=/usr/bin/${APP}/shell-api:$PATH
export PATH=/usr/bin/shotplan:$PATH
export PATH=/usr/bin/utils:$PATH # for correct yq

# Force --subproc option for not triggering terminal screen clearing
cfgDir="$HOME/.config/Arcv"
if [ ! -e "${cfgDir}"  ] ; then
    mkdir -p "${cfgDir}"
    echo "arcv config: $HOME/arcv.yml" > "${cfgDir}/arcv.yml"
fi

echo 'default app options: --subproc' >> "${cfgDir}/arcv.yml"

echo "Type the following to start running all tests in interactive mode:"
echo "  test_arcv --force-defaults -C all -y -T -i"
echo
echo "Type the following to start running all tests in automatic mode:"
echo "  test_arcv --force-defaults -C all -y -T -a"

# End up by dropping a shell
/bin/bash
