File: maven-offline-regression-tests

package info (click to toggle)
cbmc 6.6.0-4
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 153,852 kB
  • sloc: cpp: 386,459; ansic: 114,466; java: 28,405; python: 6,003; yacc: 4,552; makefile: 4,041; lex: 2,487; xml: 2,388; sh: 2,050; perl: 557; pascal: 184; javascript: 163; ada: 36
file content (99 lines) | stat: -rw-r--r-- 3,423 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Description: Debian Maven helper for regression tests
 .
 cbmc (6.6.0-1) unstable; urgency=low
 .
   * New upstream release, which includes C23 support (Closes: #1096417)
Author: Michael Tautschnig <mt@debian.org>
Bug-Debian: https://bugs.debian.org/1096417

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2025-04-29

--- cbmc-6.6.0.orig/jbmc/regression/Makefile
+++ cbmc-6.6.0/jbmc/regression/Makefile
@@ -16,7 +16,8 @@ DIRS = janalyzer \
 # Run all test directories in sequence
 .PHONY: test
 test:
-	mvn --quiet clean package -T1C
+	mh_clean
+	mvn --offline package -T1C -s /etc/maven/settings-debian.xml
 	@for dir in $(DIRS); do \
 		$(MAKE) "$$dir" || exit 1; \
 	done;
@@ -31,7 +32,8 @@ $(DIRS):
 .PHONY: test-parallel
 .NOTPARALLEL: test-parallel
 test-parallel:
-	mvn --quiet clean package -T1C
+	mh_clean
+	mvn --offline package -T1C -s /etc/maven/settings-debian.xml
 	@echo "Building with $(JOBS) jobs"
 	parallel \
 		--halt soon,fail=1 \
@@ -45,7 +47,7 @@ test-parallel:
 
 .PHONY: clean
 clean:
-	mvn --quiet clean -T1C
+	mh_clean
 	@for dir in *; do \
 		if [ -d "$$dir" ]; then \
 			$(MAKE) -C "$$dir" clean; \
--- cbmc-6.6.0.orig/jbmc/regression/book-examples/Makefile
+++ cbmc-6.6.0/jbmc/regression/book-examples/Makefile
@@ -28,6 +28,7 @@ show:
 clean:
 	find -name '*.out' -execdir $(RM) '{}' \;
 	find -name '*.gb' -execdir $(RM) '{}' \;
+	$(RM) */target/
 	$(RM) tests.log tests-symex-driven-loading.log
 
 %.class: %.java ../../src/org.cprover.jar
--- cbmc-6.6.0.orig/jbmc/regression/janalyzer-taint/Makefile
+++ cbmc-6.6.0/jbmc/regression/janalyzer-taint/Makefile
@@ -18,4 +18,5 @@ show:
 clean:
 	find -name '*.out' -execdir $(RM) '{}' \;
 	find -name '*.gb' -execdir $(RM) '{}' \;
+	$(RM) */target/
 	$(RM) tests.log
--- cbmc-6.6.0.orig/jbmc/regression/janalyzer/Makefile
+++ cbmc-6.6.0/jbmc/regression/janalyzer/Makefile
@@ -18,4 +18,5 @@ show:
 clean:
 	find -name '*.out' -execdir $(RM) '{}' \;
 	find -name '*.gb' -execdir $(RM) '{}' \;
+	$(RM) */target/
 	$(RM) tests.log
--- cbmc-6.6.0.orig/jbmc/regression/jbmc/Makefile
+++ cbmc-6.6.0/jbmc/regression/jbmc/Makefile
@@ -28,6 +28,7 @@ show:
 clean:
 	find -name '*.out' -execdir $(RM) '{}' \;
 	find -name '*.gb' -execdir $(RM) '{}' \;
+	$(RM) */target/
 	$(RM) tests.log tests-symex-driven-loading.log
 
 %.class: %.java ../../src/org.cprover.jar
--- cbmc-6.6.0.orig/jbmc/regression/jbmc/deterministic_assignments_json/generate-json.sh
+++ cbmc-6.6.0/jbmc/regression/jbmc/deterministic_assignments_json/generate-json.sh
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 
-mvn package
+mvn --offline package -s /etc/maven/settings-debian.xml
 java -cp target/jsonGenerator-1.0-SNAPSHOT-jar-with-dependencies.jar:. org.cprover.JsonGenerator
 # The following command only works using GNU sed.
 # (Remove all lines containing the string "StaticFieldMap" as they are not needed.)