X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fui%2Fsyntax-gen.at;h=155ae9d566b158bf57f8b06aac892432d9bbf14a;hb=1e9875fc6bd073f970e28de5ef49e82717705858;hp=7a446d7e038e2dc21c8a342ec9d6a0b7598c9721;hpb=8925b93f70213a7b88521ea134d0c7daf18bb1a5;p=pspp diff --git a/tests/ui/syntax-gen.at b/tests/ui/syntax-gen.at index 7a446d7e03..155ae9d566 100644 --- a/tests/ui/syntax-gen.at +++ b/tests/ui/syntax-gen.at @@ -1,8 +1,24 @@ +dnl PSPP - a program for statistical analysis. +dnl Copyright (C) 2017 Free Software Foundation, Inc. +dnl +dnl This program is free software: you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation, either version 3 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program. If not, see . +dnl AT_BANNER([SYNTAX GENERATOR]) AT_SETUP([Syntax Generation - printf like]) -AT_CHECK([$abs_top_builddir/tests/ui/syntax-gen-test],[0],[dnl +AT_CHECK(["$abs_top_builddir/tests/ui/syntax-gen-test"],[0],[dnl A simple string: Hello worldEND A syntax string: "Hello world"END A syntax string containing ": 'here"is the quote'END @@ -10,6 +26,7 @@ A syntax string containing non-printables: X'41204374726C4C0C63686172'END An integer: 98765END A floating point number: 3.142END A floating point number with default precision: 1.234000END +A floating point number with given precision: 1.23399999999999998579END A literal % and finally a "concatination" of 6 different 20.309000 examples 23.09 of 100% conversions. ])