Skip to content
This repository was archived by the owner on Oct 3, 2021. It is now read-only.

Commit 48ecfde

Browse files
committed
Update task definitions of combinations to v2.0
1 parent 520e1c2 commit 48ecfde

File tree

211 files changed

+1270
-427
lines changed

Some content is hidden

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

211 files changed

+1270
-427
lines changed

c/combinations/generate-tasks.py

100644100755
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# https://gitlab.com/sosy-lab/research/data/difference-data
66
#
77
# SPDX-FileCopyrightText: 2020 Dirk Beyer <https://sosy-lab.org>
8+
# SPDX-FileCopyrightText: 2020 The SV-Benchmarks Community
89
#
910
# SPDX-License-Identifier: Apache-2.0
1011

@@ -98,18 +99,20 @@ def _create_combo(
9899
)
99100

100101

101-
def _get_yml_content(verdict1, verdict2, input_file: str):
102+
def _get_yml_content(verdict1, verdict2, input_file: str, data_model="ILP32"):
102103
verdict = verdict1 == verdict2 == True
103-
return """format_version: '1.0'
104+
return f"""format_version: '2.0'
104105
105-
input_files: '%s'
106+
input_files: '{input_file}'
106107
107108
properties:
108109
- property_file: ../properties/unreach-call.prp
109-
expected_verdict: %s""" % (
110-
input_file,
111-
verdict,
112-
)
110+
expected_verdict: {verdict}
111+
112+
options:
113+
language: C
114+
data_model: {data_model}
115+
"""
113116

114117

115118
def create_combos(
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
format_version: '1.0'
1+
format_version: '2.0'
22

33
input_files: 'pals_lcr.3.1.ufo.BOUNDED-6.pals+Problem12_label01.c'
44

55
properties:
66
- property_file: ../properties/unreach-call.prp
7-
expected_verdict: False
7+
expected_verdict: False
8+
9+
options:
10+
language: C
11+
data_model: ILP32
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
format_version: '1.0'
1+
format_version: '2.0'
22

33
input_files: 'pals_lcr.3.1.ufo.BOUNDED-6.pals+Problem12_label02.c'
44

55
properties:
66
- property_file: ../properties/unreach-call.prp
7-
expected_verdict: False
7+
expected_verdict: False
8+
9+
options:
10+
language: C
11+
data_model: ILP32
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
format_version: '1.0'
1+
format_version: '2.0'
22

33
input_files: 'pals_lcr.3.1.ufo.BOUNDED-6.pals+Problem12_label04.c'
44

55
properties:
66
- property_file: ../properties/unreach-call.prp
7-
expected_verdict: False
7+
expected_verdict: False
8+
9+
options:
10+
language: C
11+
data_model: ILP32
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
format_version: '1.0'
1+
format_version: '2.0'
22

33
input_files: 'pals_lcr.3.1.ufo.BOUNDED-6.pals+Problem12_label05.c'
44

55
properties:
66
- property_file: ../properties/unreach-call.prp
7-
expected_verdict: False
7+
expected_verdict: False
8+
9+
options:
10+
language: C
11+
data_model: ILP32
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
format_version: '1.0'
1+
format_version: '2.0'
22

33
input_files: 'pals_lcr.3.1.ufo.BOUNDED-6.pals+Problem12_label09.c'
44

55
properties:
66
- property_file: ../properties/unreach-call.prp
7-
expected_verdict: False
7+
expected_verdict: False
8+
9+
options:
10+
language: C
11+
data_model: ILP32
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
format_version: '1.0'
1+
format_version: '2.0'
22

33
input_files: 'pals_lcr.3.1.ufo.UNBOUNDED.pals+Problem12_label01.c'
44

55
properties:
66
- property_file: ../properties/unreach-call.prp
7-
expected_verdict: False
7+
expected_verdict: False
8+
9+
options:
10+
language: C
11+
data_model: ILP32
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
format_version: '1.0'
1+
format_version: '2.0'
22

33
input_files: 'pals_lcr.3.1.ufo.UNBOUNDED.pals+Problem12_label02.c'
44

55
properties:
66
- property_file: ../properties/unreach-call.prp
7-
expected_verdict: False
7+
expected_verdict: False
8+
9+
options:
10+
language: C
11+
data_model: ILP32
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
format_version: '1.0'
1+
format_version: '2.0'
22

33
input_files: 'pals_lcr.3.1.ufo.UNBOUNDED.pals+Problem12_label04.c'
44

55
properties:
66
- property_file: ../properties/unreach-call.prp
7-
expected_verdict: False
7+
expected_verdict: False
8+
9+
options:
10+
language: C
11+
data_model: ILP32
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
format_version: '1.0'
1+
format_version: '2.0'
22

33
input_files: 'pals_lcr.3.1.ufo.UNBOUNDED.pals+Problem12_label05.c'
44

55
properties:
66
- property_file: ../properties/unreach-call.prp
7-
expected_verdict: False
7+
expected_verdict: False
8+
9+
options:
10+
language: C
11+
data_model: ILP32

0 commit comments

Comments
 (0)