Commit a2cbf0af authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

sanity: also check the 80-column limit in bin

* tests/sanity/80columns.test: Check bin sources.
* bin/ltlsynt.cc: Fix it.
parent c473e4ca
...@@ -643,8 +643,10 @@ namespace ...@@ -643,8 +643,10 @@ namespace
std::cout << "REALIZABLE\n"; std::cout << "REALIZABLE\n";
if (!opt_real) if (!opt_real)
{ {
auto strat_aut = strat_to_aut(pg, strategy, dpa, all_outputs); auto strat_aut =
auto circuit = aut_to_aiger(strat_aut, all_inputs, all_outputs); strat_to_aut(pg, strategy, dpa, all_outputs);
auto circuit =
aut_to_aiger(strat_aut, all_inputs, all_outputs);
circuit.print(); circuit.print();
} }
} }
......
#! /bin/sh #! /bin/sh
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright (C) 2012, 2016 Laboratoire de Recherche et Développement de # Copyright (C) 2012, 2016, 2017 Laboratoire de Recherche et Développement de
# l'Epita (LRDE). # l'Epita (LRDE).
# Copyright (C) 2004, 2005 Laboratoire d'Informatique de Paris 6 # Copyright (C) 2004, 2005 Laboratoire d'Informatique de Paris 6
# (LIP6), département Systèmes Répartis Coopératifs (SRC), Université # (LIP6), département Systèmes Répartis Coopératifs (SRC), Université
...@@ -42,7 +42,7 @@ fi ...@@ -42,7 +42,7 @@ fi
x="$x$x$x$x$x$x$x$x$x" # 9x x="$x$x$x$x$x$x$x$x$x" # 9x
x="$x$x$x$x$x$x$x$x$x" # 81x x="$x$x$x$x$x$x$x$x$x" # 81x
for dir in "${srcdir-.}/../../spot" "${srcdir-.}/.."; do for dir in "${srcdir-.}/../../spot" "${srcdir-.}/../../bin" "${srcdir-.}/.."; do
find "$dir" \( -name "${1-*}.hh" \ find "$dir" \( -name "${1-*}.hh" \
-o -name "${1-*}.hxx" \ -o -name "${1-*}.hxx" \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment