Skip to content

Commit 6701c66

Browse files
authored
Merge pull request #1108 from stan-dev/remove-dune-signature-tests
Remove signature tests from dune runtest
2 parents c011696 + b7a24ec commit 6701c66

106 files changed

Lines changed: 5 additions & 305147 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
all:
22
dune build src/stanc/stanc.exe
33

4-
TEST_DUNES := $(foreach d,$(shell find test/integration -type d),$(d)/dune)
5-
test: $(TEST_DUNES)
4+
.PHONY: doc test
5+
6+
test:
67
dune runtest
78

89
format:
@@ -17,31 +18,7 @@ static:
1718
clean:
1819
dune clean
1920

20-
.PHONY: doc
2121
doc:
2222
dune build @doc
2323

2424
re: clean all
25-
26-
test/integration/examples-good/%/dune: test/integration/examples-good/dune
27-
echo "(include `echo "$*/" | sed -e "s|[^/]*/|../|g"`dune)" > $@
28-
29-
test/integration/examples-bad/%/dune: test/integration/examples-bad/dune
30-
echo "(include `echo "$*/" | sed -e "s|[^/]*/|../|g"`dune)" > $@
31-
32-
test/integration/included/%/dune: test/integration/included/dune
33-
echo "(include `echo "$*/" | sed -e "s|[^/]*/|../|g"`dune)" > $@
34-
35-
test/integration/model-name/%/dune: test/integration/model-name/dune
36-
echo "(include `echo "$*/" | sed -e "s|[^/]*/|../|g"`dune)" > $@
37-
38-
test/integration/rstanarm/%/dune: test/integration/rstanarm/dune
39-
echo "(include `echo "$*/" | sed -e "s|[^/]*/|../|g"`dune)" > $@
40-
41-
test/integration/example-models/%/dune: test/integration/example-models/dune
42-
echo "(include `echo "$*/" | sed -e "s|[^/]*/|../|g"`dune)" > $@
43-
44-
OG_TEST_DUNES := test/integration/dune test/integration/examples-bad/dune test/integration/examples-good/dune test/integration/included/dune test/integration/model-name/dune test/integration/rstanarm/dune test/integration/example-models/dune
45-
46-
clean-test-dunes:
47-
rm -rf $(filter-out $(OG_TEST_DUNES),$(TEST_DUNES))
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
These folders are not included in the Dune tests due to the sheer number of files.
2+
They are tested as part of the Jenkins CI that compiles all models in test/integration/good to binaries.

test/integration/good/function-signatures/distributions/dune

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/integration/good/function-signatures/distributions/multivariate/continuous/dune

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/integration/good/function-signatures/distributions/multivariate/continuous/pretty.expected

Lines changed: 0 additions & 3047 deletions
This file was deleted.

test/integration/good/function-signatures/distributions/multivariate/discrete/categorical/dune

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/integration/good/function-signatures/distributions/multivariate/discrete/categorical/pretty.expected

Lines changed: 0 additions & 90 deletions
This file was deleted.

test/integration/good/function-signatures/distributions/multivariate/discrete/dune

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/integration/good/function-signatures/distributions/multivariate/discrete/multinomial/dune

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/integration/good/function-signatures/distributions/multivariate/discrete/multinomial/pretty.expected

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)