summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/dejagnu/package.py
blob: f659f3174b1aeee17776b09462e91aad3048f766 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class Dejagnu(AutotoolsPackage):
    """DejaGnu is a framework for testing other programs. Its purpose
    is to provide a single front end for all tests."""

    homepage = "https://www.gnu.org/software/dejagnu/"
    url      = "https://ftpmirror.gnu.org/dejagnu/dejagnu-1.6.tar.gz"

    version('1.6',   '1fdc2eb0d592c4f89d82d24dfdf02f0b')
    version('1.4.4', '053f18fd5d00873de365413cab17a666')

    depends_on('expect')
    depends_on('tcl@8.5:')

    # DejaGnu 1.4.4 cannot be built in parallel
    # `make check` also fails but this can be ignored
    parallel = False