Opened 6 years ago
Closed 6 years ago
#3769 closed defect (fixed)
[testsuite] Do not hardcode the path of the GRASSSRC
Reported by: | pmav99 | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Tests | Version: | svn-trunk |
Keywords: | Cc: | ||
CPU: | Unspecified | Platform: | Unspecified |
Description
The hardcoded path makes it difficult to run the testsuite without modifying the configuration file. By using a relative path, anyone can run the testuite without any modifications.
Original PR: https://github.com/GRASS-GIS/grass-ci/pull/5
Index: testsuite/examples/test_framework_GRASS_GIS_with_NC.conf =================================================================== --- testsuite/examples/test_framework_GRASS_GIS_with_NC.conf (revision 74152) +++ testsuite/examples/test_framework_GRASS_GIS_with_NC.conf (working copy) @@ -3,7 +3,7 @@ # name of binary: GRASSBIN=grass77 # source code directory as full path: -GRASSSRC="$HOME/software/grass77" +GRASSSRC="$(realpath ../../)" # temporary grassdata directory GRASSDATA="$HOME/grassdata/tests-grassdata"
Note:
See TracTickets
for help on using tickets.
In 74158: