Skip to content

Commit

Permalink
accommodate version changes in golds
Browse files Browse the repository at this point in the history
  • Loading branch information
LeventErkok committed Mar 15, 2024
1 parent aca2045 commit 1b21475
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,16 @@ bench:

testsuite: lintTest docTest test

# Run this target, which updates the golds for those tests that rely on version updates
# for SBV and Z3. Saves time before doing "make release"
updateForVersionChange:
make test ACCEPT=1 TGT=nested1
make test ACCEPT=1 TGT=nested2
make test ACCEPT=1 TGT=nested3
make test ACCEPT=1 TGT=nested4
make test ACCEPT=1 TGT=allSat8
make test ACCEPT=1 TGT=query1

# To do a faster hlint without compiling, use FAST=1 as a parameter: make lintTest FAST=1
lintTest:
ifdef FAST
Expand Down Expand Up @@ -133,7 +143,7 @@ mkDistro:
releaseNoBuild: testsuite testInterfaces mkDistro checkLinks
@echo "*** SBV is ready for release! -- no SBV build was done."

fullRelease: veryclean checkExtensions install docs testsuite testInterfaces benchBuild mkDistro checkLinks
fullRelease: veryclean checkExtensions install docs updateForVersionChange testsuite testInterfaces benchBuild mkDistro checkLinks
@echo "*** SBV is ready for release!"

release:
Expand Down
2 changes: 1 addition & 1 deletion SBVTestSuite/GoldFiles/allSat8.gold
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ EXCEPTION CAUGHT:
*** NB. If this is a use case you'd like SBV to support, please get in touch!

CallStack (from HasCallStack):
error, called at ./Data/SBV/Control/Utils.hs:1660:57 in sbv-10.5-inplace:Data.SBV.Control.Utils
error, called at ./Data/SBV/Control/Utils.hs:1660:57 in sbv-10.5.5-inplace:Data.SBV.Control.Utils
2 changes: 1 addition & 1 deletion SBVTestSuite/GoldFiles/nested1.gold
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Data.SBV: Mismatched contexts detected.
*** See https://github.com/LeventErkok/sbv/issues/71 for several examples.

CallStack (from HasCallStack):
error, called at ./Data/SBV/Core/Symbolic.hs:1937:48 in sbv-10.5-inplace:Data.SBV.Core.Symbolic
error, called at ./Data/SBV/Core/Symbolic.hs:1937:48 in sbv-10.5.5-inplace:Data.SBV.Core.Symbolic
2 changes: 1 addition & 1 deletion SBVTestSuite/GoldFiles/nested2.gold
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Data.SBV: Mismatched contexts detected.
*** See https://github.com/LeventErkok/sbv/issues/71 for several examples.

CallStack (from HasCallStack):
error, called at ./Data/SBV/Core/Symbolic.hs:1937:48 in sbv-10.5-inplace:Data.SBV.Core.Symbolic
error, called at ./Data/SBV/Core/Symbolic.hs:1937:48 in sbv-10.5.5-inplace:Data.SBV.Core.Symbolic
2 changes: 1 addition & 1 deletion SBVTestSuite/GoldFiles/nested3.gold
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ Data.SBV: Mismatched contexts detected.
*** See https://github.com/LeventErkok/sbv/issues/71 for several examples.

CallStack (from HasCallStack):
error, called at ./Data/SBV/Core/Symbolic.hs:1937:48 in sbv-10.5-inplace:Data.SBV.Core.Symbolic
error, called at ./Data/SBV/Core/Symbolic.hs:1937:48 in sbv-10.5.5-inplace:Data.SBV.Core.Symbolic
2 changes: 1 addition & 1 deletion SBVTestSuite/GoldFiles/nested4.gold
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Data.SBV: Mismatched contexts detected.
*** See https://github.com/LeventErkok/sbv/issues/71 for several examples.

CallStack (from HasCallStack):
error, called at ./Data/SBV/Core/Symbolic.hs:1937:48 in sbv-10.5-inplace:Data.SBV.Core.Symbolic
error, called at ./Data/SBV/Core/Symbolic.hs:1937:48 in sbv-10.5.5-inplace:Data.SBV.Core.Symbolic

0 comments on commit 1b21475

Please sign in to comment.