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

Commit

Permalink
Update task definitions of combinations to v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lembergerth committed Nov 4, 2020
1 parent 520e1c2 commit 48ecfde
Show file tree
Hide file tree
Showing 211 changed files with 1,270 additions and 427 deletions.
17 changes: 10 additions & 7 deletions c/combinations/generate-tasks.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# https://gitlab.com/sosy-lab/research/data/difference-data
#
# SPDX-FileCopyrightText: 2020 Dirk Beyer <https://sosy-lab.org>
# SPDX-FileCopyrightText: 2020 The SV-Benchmarks Community
#
# SPDX-License-Identifier: Apache-2.0

Expand Down Expand Up @@ -98,18 +99,20 @@ def _create_combo(
)


def _get_yml_content(verdict1, verdict2, input_file: str):
def _get_yml_content(verdict1, verdict2, input_file: str, data_model="ILP32"):
verdict = verdict1 == verdict2 == True
return """format_version: '1.0'
return f"""format_version: '2.0'
input_files: '%s'
input_files: '{input_file}'
properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: %s""" % (
input_file,
verdict,
)
expected_verdict: {verdict}
options:
language: C
data_model: {data_model}
"""


def create_combos(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

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

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

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

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

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

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

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

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

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

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

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

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

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

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

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

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

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

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

input_files: 'pals_lcr.3.1.ufo.UNBOUNDED.pals+Problem12_label09.c'

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

input_files: 'pals_lcr.3.ufo.BOUNDED-6.pals+Problem12_label00.c'

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

input_files: 'pals_lcr.3.ufo.BOUNDED-6.pals+Problem12_label01.c'

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: True
expected_verdict: True

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

input_files: 'pals_lcr.3.ufo.BOUNDED-6.pals+Problem12_label02.c'

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: True
expected_verdict: True

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

input_files: 'pals_lcr.3.ufo.BOUNDED-6.pals+Problem12_label03.c'

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

input_files: 'pals_lcr.3.ufo.BOUNDED-6.pals+Problem12_label04.c'

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: True
expected_verdict: True

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

input_files: 'pals_lcr.3.ufo.BOUNDED-6.pals+Problem12_label05.c'

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: True
expected_verdict: True

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

input_files: 'pals_lcr.3.ufo.BOUNDED-6.pals+Problem12_label06.c'

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

input_files: 'pals_lcr.3.ufo.BOUNDED-6.pals+Problem12_label07.c'

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

input_files: 'pals_lcr.3.ufo.BOUNDED-6.pals+Problem12_label08.c'

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

input_files: 'pals_lcr.3.ufo.BOUNDED-6.pals+Problem12_label09.c'

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: True
expected_verdict: True

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

input_files: 'pals_lcr.3.ufo.UNBOUNDED.pals+Problem12_label00.c'

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

input_files: 'pals_lcr.3.ufo.UNBOUNDED.pals+Problem12_label01.c'

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: True
expected_verdict: True

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

input_files: 'pals_lcr.3.ufo.UNBOUNDED.pals+Problem12_label02.c'

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: True
expected_verdict: True

options:
language: C
data_model: ILP32
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
format_version: '1.0'
format_version: '2.0'

input_files: 'pals_lcr.3.ufo.UNBOUNDED.pals+Problem12_label03.c'

properties:
- property_file: ../properties/unreach-call.prp
expected_verdict: False
expected_verdict: False

options:
language: C
data_model: ILP32
Loading

0 comments on commit 48ecfde

Please sign in to comment.