Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Commit

Permalink
Merge pull request #12 from cgay/test-suite
Browse files Browse the repository at this point in the history
Standardize test suite name
  • Loading branch information
cgay authored Jan 29, 2022
2 parents a72fc0f + e2be98d commit bcb1ca2
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion tests/catalog-test.dylan
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Module: pacman-test
Module: pacman-test-suite

define constant $catalog-text =
#:string:({
Expand Down
2 changes: 1 addition & 1 deletion tests/deps-test.dylan
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Module: pacman-test
Module: pacman-test-suite

// Verify that dep names follow the same rules as package names.
define test test-dep-name-validation ()
Expand Down
2 changes: 1 addition & 1 deletion tests/install-test.dylan
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Module: pacman-test
Module: pacman-test-suite

define test test-install ()
let release = make-test-release("pacman@0.0.2"); // must be in catalog
Expand Down
4 changes: 2 additions & 2 deletions tests/library.dylan
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Module: dylan-user

define library pacman-test
define library pacman-test-suite
use io,
import: { format, streams };
use json;
Expand All @@ -13,7 +13,7 @@ define library pacman-test
import: { uncommon-dylan, uncommon-utils };
end library;

define module pacman-test
define module pacman-test-suite
use file-system,
import: { file-exists? };
use format,
Expand Down
2 changes: 1 addition & 1 deletion tests/main.dylan
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Module: pacman-test
Module: pacman-test-suite
Synopsis: Parse command line and run pacman tests.

run-test-application();
2 changes: 1 addition & 1 deletion tests/pacman-test.lid → tests/pacman-test-suite.lid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library: pacman-test
library: pacman-test-suite
files: library.dylan
test-utils.dylan
catalog-test.dylan
Expand Down
2 changes: 1 addition & 1 deletion tests/test-utils.dylan
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Module: pacman-test
Module: pacman-test-suite

// Make a <release> from a dependency spec like "pkg@1.2.3". If a catalog is given then
// the release is added to the package with the same name in the catalog, if
Expand Down
2 changes: 1 addition & 1 deletion tests/types-test.dylan
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Module: pacman-test
Module: pacman-test-suite

define test version-=-test ()
for (item in #[#["latest", "latest", #t],
Expand Down
2 changes: 1 addition & 1 deletion tests/versions-test.dylan
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Module: pacman-test
Module: pacman-test-suite

define test test-string-to-version ()
for (vstring in #["4.5.6-beta1", // may be supported in future
Expand Down

0 comments on commit bcb1ca2

Please sign in to comment.