tests: workaround test not failing if the Spot support more colors

* configure.ac (MAX_ACCSETS): Add AC_SUBST.
* tests/run.in: Define MAX_ACCSETS.
* tests/core/prodchain.test: Test MAX_ACCSETS.
This commit is contained in:
Alexandre Duret-Lutz 2022-06-21 14:24:08 +02:00
parent 23908f3d2f
commit 8161a8c531
3 changed files with 13 additions and 5 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
# -*- coding: utf-8 -*-
# Copyright (C) 2010-2011, 2014-2016, 2018-2021 Laboratoire de Recherche
# Copyright (C) 2010-2011, 2014-2016, 2018-2022 Laboratoire de Recherche
# et Developpement de l'EPITA (LRDE).
# Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6
# (LIP6), département Systèmes Répartis Coopératifs (SRC), Université
@ -75,6 +75,9 @@ export SPOT_DOTDEFAULT=
SPOT_UNINSTALLED=1
export SPOT_UNINSTALLED
MAX_ACCSETS=@MAX_ACCSETS@
export MAX_ACCSETS
case $1 in
*/*)
dir=${1%/*}