Skip to content

Commit

Permalink
CQ: Normalize line endings to CRLF for .bat files
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Dec 1, 2024
1 parent 5809e14 commit 0fe9997
Show file tree
Hide file tree
Showing 8 changed files with 763 additions and 763 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test_simple.bat
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
set grass=%1

rem Test execution of binary command
call %grass% --tmp-project EPSG:4326 --exec g.region res=0.1 -p
rem Test if batch-wrapper-scripts without extension are found
call %grass% --tmp-project EPSG:4326 --exec C:/Windows/System32/where.exe t.create
rem Test if python-scripts can be called
call %grass% --tmp-project EPSG:4326 --exec t.create --help
set grass=%1

rem Test execution of binary command
call %grass% --tmp-project EPSG:4326 --exec g.region res=0.1 -p
rem Test if batch-wrapper-scripts without extension are found
call %grass% --tmp-project EPSG:4326 --exec C:/Windows/System32/where.exe t.create
rem Test if python-scripts can be called
call %grass% --tmp-project EPSG:4326 --exec t.create --help
10 changes: 5 additions & 5 deletions .github/workflows/test_thorough.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set grass=%1
set python=%2

call %grass% --tmp-project XY --exec g.download.project url=https://grass.osgeo.org/sampledata/north_carolina/nc_spm_full_v2alpha2.tar.gz path=%USERPROFILE%
call %grass% --tmp-project XY --exec %python% -m grass.gunittest.main --grassdata %USERPROFILE% --location nc_spm_full_v2alpha2 --location-type nc --min-success 96 --config .github\workflows\osgeo4w_gunittest.cfg
set grass=%1
set python=%2

call %grass% --tmp-project XY --exec g.download.project url=https://grass.osgeo.org/sampledata/north_carolina/nc_spm_full_v2alpha2.tar.gz path=%USERPROFILE%
call %grass% --tmp-project XY --exec %python% -m grass.gunittest.main --grassdata %USERPROFILE% --location nc_spm_full_v2alpha2 --location-type nc --min-success 96 --config .github\workflows\osgeo4w_gunittest.cfg
Loading

0 comments on commit 0fe9997

Please sign in to comment.