Skip to content

Commit d79a2b5

Browse files
authored
Merge pull request #20 from wavebitscientific/add-tests-to-fpm-manifest
Add tests to fpm manifest
2 parents 3af0e6d + ed80bfc commit d79a2b5

34 files changed

+434
-426
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
build
2+
13
# Compiled Object files
24
*.slo
35
*.lo

AUTHORS

-1
This file was deleted.

CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES Cray)
3434
endif()
3535

3636
# library to archive (libfunctional.a)
37-
add_library(functional src/lib/mod_functional.f90 src/lib/mod_interfaces.f90)
38-
add_library(testing src/tests/mod_testing.f90)
37+
add_library(functional src/functional.f90)
38+
add_library(testing test/testing.f90)
3939

4040
# tests
4141
enable_testing()
4242
foreach(execid arange arrstr complement empty filter foldl foldr foldt head init insert intersection iterfold last limit map reverse set sort split strarr subscript tail unfold union)
43-
add_executable(test_${execid} src/tests/test_${execid}.f90)
43+
add_executable(test_${execid} test/test_${execid}.f90)
4444
target_link_libraries(test_${execid} functional testing)
4545
add_test(test_${execid} bin/test_${execid})
4646
endforeach()

0 commit comments

Comments
 (0)