summaryrefslogtreecommitdiff
path: root/dev-gap/transgrp/files/transgrp-3.6.5-load-gapdoc-before-tests.patch
blob: 508d0da94d115b53e86005acb9c8ce829dc1c883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 433eb149841a8d56ed6b82790b52195e8251582f Mon Sep 17 00:00:00 2001
From: Michael Orlitzky <michael@orlitzky.com>
Date: Wed, 13 Dec 2023 14:39:03 -0500
Subject: [PATCH] tst/testall.g: load GAPDoc and SmallGrp before testing

To help resolve the chicken and egg problem, it's nice to be able to
launch gap with --bare when testing transgrp. But without GAPDoc and
SmallGrp loaded, the test suite fails. So let's load them explicitly.
This won't hurt anything under normal circumstances where both of them
are loaded anyway.
---
 tst/testall.g | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tst/testall.g b/tst/testall.g
index 19275f8..08edc69 100644
--- a/tst/testall.g
+++ b/tst/testall.g
@@ -4,6 +4,8 @@
 # This file runs package tests. It is also referenced in the package
 # metadata in PackageInfo.g.
 #
+LoadPackage( "gapdoc" );
+LoadPackage( "smallgrp" );
 LoadPackage( "transgrp" );
 
 TestDirectory(DirectoriesPackageLibrary( "transgrp", "tst" ),
-- 
2.43.0