diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2022-11-14 09:34:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 09:34:14 +0100 |
commit | a4cec82841228266d10734ecae2056f2980bf482 (patch) | |
tree | 0f7b661241643cbd1f6eba0c1c6d22db10c545ab /var | |
parent | 3812edd0db57db1fc10eb9bcc1201bc5a5d19aa2 (diff) | |
download | spack-a4cec82841228266d10734ecae2056f2980bf482.tar.gz spack-a4cec82841228266d10734ecae2056f2980bf482.tar.bz2 spack-a4cec82841228266d10734ecae2056f2980bf482.tar.xz spack-a4cec82841228266d10734ecae2056f2980bf482.zip |
Speed up traverse unit tests (#33840)
Diffstat (limited to 'var')
4 files changed, 0 insertions, 129 deletions
diff --git a/var/spack/repos/builtin.mock/packages/chain-a/package.py b/var/spack/repos/builtin.mock/packages/chain-a/package.py deleted file mode 100644 index 6dc7dc2c90..0000000000 --- a/var/spack/repos/builtin.mock/packages/chain-a/package.py +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2013-2022 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.package import * - - -class ChainA(Package): - """ - Part of a collection of mock packages used for testing depth-first vs - breadth-first traversal. The DAG they form: - a --> b --> c --> d # a chain - a --> c # "skip" connection - a --> d # "skip" connection - Spack's edge order is based on the child package name. - In depth-first traversal we get a tree that looks like a chain: - a - b - c - d - In breadth-first we get the tree: - a - b - c - d - """ - - homepage = "https://example.com" - has_code = False - version("1.0") - depends_on("chain-b") - depends_on("chain-c") - depends_on("chain-d") diff --git a/var/spack/repos/builtin.mock/packages/chain-b/package.py b/var/spack/repos/builtin.mock/packages/chain-b/package.py deleted file mode 100644 index ede29c0e0f..0000000000 --- a/var/spack/repos/builtin.mock/packages/chain-b/package.py +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2013-2022 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.package import * - - -class ChainB(Package): - """ - Part of a collection of mock packages used for testing depth-first vs - breadth-first traversal. The DAG they form: - a --> b --> c --> d # a chain - a --> c # "skip" connection - a --> d # "skip" connection - Spack's edge order is based on the child package name. - In depth-first traversal we get a tree that looks like a chain: - a - b - c - d - In breadth-first we get the tree: - a - b - c - d - """ - - homepage = "https://example.com" - has_code = False - version("1.0") - depends_on("chain-c") diff --git a/var/spack/repos/builtin.mock/packages/chain-c/package.py b/var/spack/repos/builtin.mock/packages/chain-c/package.py deleted file mode 100644 index e9d919f0ba..0000000000 --- a/var/spack/repos/builtin.mock/packages/chain-c/package.py +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2013-2022 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.package import * - - -class ChainC(Package): - """ - Part of a collection of mock packages used for testing depth-first vs - breadth-first traversal. The DAG they form: - a --> b --> c --> d # a chain - a --> c # "skip" connection - a --> d # "skip" connection - Spack's edge order is based on the child package name. - In depth-first traversal we get a tree that looks like a chain: - a - b - c - d - In breadth-first we get the tree: - a - b - c - d - """ - - homepage = "https://example.com" - has_code = False - version("1.0") - depends_on("chain-d") diff --git a/var/spack/repos/builtin.mock/packages/chain-d/package.py b/var/spack/repos/builtin.mock/packages/chain-d/package.py deleted file mode 100644 index f2e04089ee..0000000000 --- a/var/spack/repos/builtin.mock/packages/chain-d/package.py +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2013-2022 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.package import * - - -class ChainD(Package): - """ - Part of a collection of mock packages used for testing depth-first vs - breadth-first traversal. The DAG they form: - a --> b --> c --> d # a chain - a --> c # "skip" connection - a --> d # "skip" connection - Spack's edge order is based on the child package name. - In depth-first traversal we get a tree that looks like a chain: - a - b - c - d - In breadth-first we get the tree: - a - b - c - d - """ - - homepage = "https://example.com" - has_code = False - version("1.0") |