From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87061 Path: news.gmane.org!not-for-mail From: Thangalin Newsgroups: gmane.comp.tex.context Subject: Automated Regression Testing for Typeset Material Date: Sat, 19 Apr 2014 12:15:53 -0700 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1397934978 16082 80.91.229.3 (19 Apr 2014 19:16:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2014 19:16:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 19 21:16:13 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WbakG-00064k-Vz for gctc-ntg-context-518@m.gmane.org; Sat, 19 Apr 2014 21:16:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6817B1025A for ; Sat, 19 Apr 2014 21:16:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ptdGUS3qsPEF for ; Sat, 19 Apr 2014 21:16:12 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9E9DA10209 for ; Sat, 19 Apr 2014 21:16:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 23D5A101E7 for ; Sat, 19 Apr 2014 21:16:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id R9sFDNPqqAwj for ; Sat, 19 Apr 2014 21:16:03 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 9695C101E3 for ; Sat, 19 Apr 2014 21:15:55 +0200 (CEST) Original-Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s3JJFrrb018020 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sat, 19 Apr 2014 21:15:54 +0200 Original-Received: by mail-ig0-f171.google.com with SMTP id c1so566609igq.16 for ; Sat, 19 Apr 2014 12:15:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+EATKSdXi2AbWnlB6aizs0TgM24WdC0TudExQ7hSsB8=; b=S/wx1enkhcxud90MzKKHZnHK4eYQLcDRGTaNaQQrW5G9M2mZ+UKA2nAyotdCumHJlH 0SBIC/vgfIzcLzFoC71a40JkDQWL7CG7oj3N2EKowR6cuSKDyiem09GNyUy+4gJxZ6X4 A3o9kS7BFT80XqRJfXAmvH+OV7jQ1qwJEzeAayXIFObdV2hRtWwqotvs1Jey7QovTSWZ vhCkcFIVI3dXkQhFGZ9+RtTCHLliyq120t3EkSp28UgEzFenU6PbPW2GMDU1htH8xUbT M+YToJYhdz3nF2w6XJBRJ469Ksnrw9dwLpFYGXdnTh1zoDB5v1yZoqaXCglNJy2dHpLj gKiQ== X-Received: by 10.42.232.206 with SMTP id jv14mr19905749icb.52.1397934953131; Sat, 19 Apr 2014 12:15:53 -0700 (PDT) Original-Received: by 10.42.192.70 with HTTP; Sat, 19 Apr 2014 12:15:53 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c05::22b; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03LPTfSLP - 871f157526d7 - 20140419 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87061 Archived-At: Hi, An idea to test the final output: # Create PDFs for all tests. cd $REGRESSION for i in *.tex; do context-beta $i done # Convert all PDF pages to images. for i in *.pdf; do convert $i $(basename $i .pdf)%0d.png done # Note any differences between images. for i in *.png; do if diff $i $ORIGINAL/$i >/dev/null ; then echo "pass" else echo "fail" > $i.log fi done ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________