Skip to content

Commit 75f8eda

Browse files
committed
Update tests: to include run and test commands
1 parent af67eae commit 75f8eda

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

ci/run_tests.bat

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ if errorlevel 1 exit 1
3636
.\build\gfortran_debug\app\hello_world
3737
if errorlevel 1 exit 1
3838

39+
%fpm_path% run
40+
if errorlevel 1 exit 1
41+
3942

4043
cd ..\hello_fpm
4144
if errorlevel 1 exit 1
@@ -71,6 +74,9 @@ del /q /f build
7174
%fpm_path% build
7275
if errorlevel 1 exit 1
7376

77+
%fpm_path% test
78+
if errorlevel 1 exit 1
79+
7480
.\build\gfortran_debug\app\say_Hello
7581
if errorlevel 1 exit 1
7682

ci/run_tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ rm -rf ./*/build
2323
cd hello_world
2424
"${f_fpm_path}" build
2525
./build/gfortran_debug/app/hello_world
26+
"${f_fpm_path}" run
2627

2728
cd ../hello_fpm
2829
"${f_fpm_path}" build
@@ -36,6 +37,7 @@ cd ../circular_example
3637

3738
cd ../hello_complex
3839
"${f_fpm_path}" build
40+
"${f_fpm_path}" test
3941
./build/gfortran_debug/app/say_Hello
4042
./build/gfortran_debug/app/say_goodbye
4143
./build/gfortran_debug/test/greet_test

0 commit comments

Comments
 (0)