From 421fe3f5343079054ecb4cbe8298eb1ab2731c8d Mon Sep 17 00:00:00 2001 From: Brad Richardson Date: Sun, 31 May 2020 19:58:20 -0700 Subject: Add dev-dependencies --- test/example_packages/circular_example/fpm.toml | 8 ++------ test/example_packages/circular_example/test/main.f90 | 7 +++++++ test/example_packages/circular_example/tests/main.f90 | 7 ------- 3 files changed, 9 insertions(+), 13 deletions(-) create mode 100644 test/example_packages/circular_example/test/main.f90 delete mode 100644 test/example_packages/circular_example/tests/main.f90 (limited to 'test/example_packages') diff --git a/test/example_packages/circular_example/fpm.toml b/test/example_packages/circular_example/fpm.toml index 034ec57..c524ce5 100644 --- a/test/example_packages/circular_example/fpm.toml +++ b/test/example_packages/circular_example/fpm.toml @@ -1,8 +1,4 @@ name = "circular_example" -[[test]] - name = "test" - source-dir = "tests" - main = "main.f90" - [test.dependencies] - circular_test = { path = "../circular_test" } +[dev-dependencies] +circular_test = { path = "../circular_test" } diff --git a/test/example_packages/circular_example/test/main.f90 b/test/example_packages/circular_example/test/main.f90 new file mode 100644 index 0000000..5b7d803 --- /dev/null +++ b/test/example_packages/circular_example/test/main.f90 @@ -0,0 +1,7 @@ +program run_tests + use hello_test, only: run_test + + implicit none + + call run_test +end program run_tests diff --git a/test/example_packages/circular_example/tests/main.f90 b/test/example_packages/circular_example/tests/main.f90 deleted file mode 100644 index 5b7d803..0000000 --- a/test/example_packages/circular_example/tests/main.f90 +++ /dev/null @@ -1,7 +0,0 @@ -program run_tests - use hello_test, only: run_test - - implicit none - - call run_test -end program run_tests -- cgit v1.2.3