summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-12-12 13:41:34 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2019-12-13 00:45:49 +0200
commit9371965132e8854db1b43b4bda61f0404b4b3609 (patch)
tree4cc06a2f3086156ddc1e35490079f6ce39ffe333
parent0bf8862bebf6057b3020443cee4238d6db5638d0 (diff)
downloadmeson-9371965132e8854db1b43b4bda61f0404b4b3609.tar.gz
ci fortran: add case where buildtype=release and warning_level=3
this can find issues with non-default build options
-rw-r--r--test cases/fortran/20 buildtype/main.f901
-rw-r--r--test cases/fortran/20 buildtype/meson.build5
2 files changed, 6 insertions, 0 deletions
diff --git a/test cases/fortran/20 buildtype/main.f90 b/test cases/fortran/20 buildtype/main.f90
new file mode 100644
index 000000000..1e16cbc85
--- /dev/null
+++ b/test cases/fortran/20 buildtype/main.f90
@@ -0,0 +1 @@
+end program
diff --git a/test cases/fortran/20 buildtype/meson.build b/test cases/fortran/20 buildtype/meson.build
new file mode 100644
index 000000000..2be633758
--- /dev/null
+++ b/test cases/fortran/20 buildtype/meson.build
@@ -0,0 +1,5 @@
+# checks for unexpected behavior on non-default buildtype and warning_level
+project('build type Fortran', 'fortran',
+ default_options: ['buildtype=release', 'warning_level=3'])
+
+executable('main', 'main.f90')