Skip to content

Commit

Permalink
[ #4457 ] A test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
nad committed Feb 21, 2020
1 parent c17260d commit bf97427
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/Makefile
Expand Up @@ -6,6 +6,7 @@ include $(TOP)/mk/paths.mk
# Keep the `default` prerequisites in alphabetic order please!
default : ac \
aim4-bag \
compact-regions \
divmod \
effects \
hello \
Expand Down Expand Up @@ -173,6 +174,12 @@ relocatable-interfaces : relocatable/originals/*.agda
@[ `grep "^ *Loading" relocatable/copies/output | wc -l` = 1 ]
@rm -rf relocatable/copies

.PHONY : compact-regions
compact-regions : relocatable/originals/*.agda
@$(echo) "Testing that --compact-regions works."
@$(agda) --ignore-interfaces --compact-regions -irelocatable/originals --no-libraries relocatable/originals/C.agda
@$(agda) --compact-regions -irelocatable/originals --no-libraries relocatable/originals/C.agda

.PHONY : uptodate
uptodate : uptodate/*.agda
@$(echo) "Testing that already imported modules are up-to-date" # despite having DOS line-endings
Expand Down

0 comments on commit bf97427

Please sign in to comment.