From unknown Fri Sep 05 08:57:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44703: Inadequate documentation of dejagnu.exp Resent-From: Robert Menteer Original-Sender: "Debbugs-submit" Resent-CC: bug-dejagnu@gnu.org Resent-Date: Tue, 17 Nov 2020 13:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44703 X-GNU-PR-Package: dejagnu X-GNU-PR-Keywords: To: 44703@debbugs.gnu.org X-Debbugs-Original-To: Robert Menteer via Bug-dejagnu Received: via spool by submit@debbugs.gnu.org id=B.160562119921954 (code B ref -1); Tue, 17 Nov 2020 13:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Nov 2020 13:53:19 +0000 Received: from localhost ([127.0.0.1]:58697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf1Q6-0005i1-KN for submit@debbugs.gnu.org; Tue, 17 Nov 2020 08:53:18 -0500 Received: from lists.gnu.org ([209.51.188.17]:40412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf1Q3-0005hs-4l for submit@debbugs.gnu.org; Tue, 17 Nov 2020 08:53:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kf1Q2-0001Bh-RR for bug-dejagnu@gnu.org; Tue, 17 Nov 2020 08:53:14 -0500 Received: from st43p00im-ztfb10061701.me.com ([17.58.63.172]:48617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kf1Q0-0003Ma-2H for bug-dejagnu@gnu.org; Tue, 17 Nov 2020 08:53:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1605621189; bh=Pu9uwwG/Yw/Z8ZOaeliI22bTapX/2hC1uJtaWE6RLYc=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=Gu/NytEWBgAi/WHhnZj8xPWXcxohSp9htH1BzBbBVR7wGxodJxMTJwvCwo20qW7Rw srg7mcnE11aPzTaidNCo+Y5GvDNzfQmNU8h2C+Ty1CZrnfTXLwSdjgqqnVBVJPXz2f gGt3c5Bb7us1OGKbgD2WI7hyCpZk+tDYVRqvX98zNSMvxhEC4tNweWFHZazW7R2++c mD40nCMELCNnBfASjltADdxuZXZJ/GcbrZ93/62egwJ1pCkNyqr9A3pdQt8HVRyG5P 1iRdw/8mhpkamGAbD7OPrp1vLF7/ecH+jophlcim9Owq5/QzfwUCaASCsMDeHkyoKA Y/COsHb/ZxeyA== Received: from [192.168.0.18] (nc-71-50-141-172.dyn.embarqhsd.net [71.50.141.172]) by st43p00im-ztfb10061701.me.com (Postfix) with ESMTPSA id 3C4E3AC09BB for ; Tue, 17 Nov 2020 13:53:09 +0000 (UTC) From: Robert Menteer Content-Type: multipart/alternative; boundary="Apple-Mail=_F113DB85-4407-41D8-A65A-F5301F75FDA7" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.21\)) Message-Id: <7FA505F1-8BBE-4E27-945F-DF01CF8B1455@mac.com> Date: Tue, 17 Nov 2020 08:53:08 -0500 X-Mailer: Apple Mail (2.3654.20.0.2.21) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-17_03:2020-11-17, 2020-11-17 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=491 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2011170103 Received-SPF: pass client-ip=17.58.63.172; envelope-from=reetnem@mac.com; helo=st43p00im-ztfb10061701.me.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/17 08:53:10 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --Apple-Mail=_F113DB85-4407-41D8-A65A-F5301F75FDA7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Section 5.1 implies each unit test is batch process. Section 5.2 states = that dejagnu.exp can be used for testing the batch processes for unit = testing. Section 4.6 says to look examine the GNU GCC testsuite for how = to write test for batch processes. The section on using dejagnu.exp states little TCL is needed but the GNU = GCC tests have thousands of lines of TCL. It took me many days before I = finally did =C2=ABfind / -name dejagnu.exp=C2=BB and looked to see how = to write an xxx.exp file for a unit test. Please document how to use the procedures in dejagnu.exp and supply a = minimal unit test xxx.exp file like the one below. load_lib dejagnu.exp host_execute $srcdir/unit-code/t_opts At a bare minimum tell people to read dejagnu.exp Thanks, Bob Menteer --Apple-Mail=_F113DB85-4407-41D8-A65A-F5301F75FDA7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Section 5.1 implies each unit test is batch process. Section = 5.2 states that dejagnu.exp can be used for testing the batch processes = for unit testing. Section 4.6 says to look examine the GNU GCC testsuite = for how to write test for batch processes.

The section on using dejagnu.exp states = little TCL is needed but the GNU GCC tests have thousands of lines of = TCL. It took me many days before I finally did =C2=ABfind / -name = dejagnu.exp=C2=BB and looked to see how to write an xxx.exp file for a = unit test.

Please document how to use the procedures in dejagnu.exp and = supply a minimal unit test xxx.exp file like the one below.

load_lib dejagnu.exp
host_execute = $srcdir/unit-code/t_opts

At a bare minimum tell people to read = dejagnu.exp


Thanks,
Bob = Menteer

= --Apple-Mail=_F113DB85-4407-41D8-A65A-F5301F75FDA7-- From unknown Fri Sep 05 08:57:03 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Robert Menteer Subject: bug#44703: closed (Re: bug#44703: Inadequate documentation of dejagnu.exp) Message-ID: References: <5FB49BBB.9040300@gmail.com> <7FA505F1-8BBE-4E27-945F-DF01CF8B1455@mac.com> X-Gnu-PR-Message: they-closed 44703 X-Gnu-PR-Package: dejagnu Reply-To: 44703@debbugs.gnu.org Date: Wed, 18 Nov 2020 03:58:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1605671884-22569-1" This is a multi-part message in MIME format... ------------=_1605671884-22569-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #44703: Inadequate documentation of dejagnu.exp which was filed against the dejagnu package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 44703@debbugs.gnu.org. --=20 44703: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44703 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1605671884-22569-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 44703-done) by debbugs.gnu.org; 18 Nov 2020 03:57:56 +0000 Received: from localhost ([127.0.0.1]:33593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfEbU-0005qq-62 for submit@debbugs.gnu.org; Tue, 17 Nov 2020 22:57:56 -0500 Received: from mail-ot1-f54.google.com ([209.85.210.54]:43253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfEbR-0005qa-Rq for 44703-done@debbugs.gnu.org; Tue, 17 Nov 2020 22:57:54 -0500 Received: by mail-ot1-f54.google.com with SMTP id y22so453889oti.10 for <44703-done@debbugs.gnu.org>; Tue, 17 Nov 2020 19:57:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=fs5kJ4wdZ+xx0IB+/I8uPJ/YLpRvgx8ub3IODJpcIQU=; b=MFOtnuW7n15KnBODuiiqUxsQ3eH7S9uTHfyD0P+Z1gqYlueE6veFCSSOAnjVvFPZeL q4jiORkAfX5iYTQS87e8XE/7w8k7O0tgQJT+zaJ/wxHDY4Nudg/67C+1XlhKJny/DDl8 OLMa00OigQHL2AjUKmo5Eaan5E/ou6EoPUzXTA8CiiiLawqffA31y8S0SU45Zi+NjFd5 w4gb65hwrMOoHPKt820ouMv7KzOWx5vvtEsstrW/FN19zShE9nx/zGUWqaTkRadaUq9I WNCnUgxjCSLTsjP+8Ei2qnIokdJYuUE8drpjUloe4xt7VgoRlC1lrTB8TGx3rXIvQ0cD BBnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:reply-to:user-agent :mime-version:to:cc:subject:references:in-reply-to :content-transfer-encoding; bh=fs5kJ4wdZ+xx0IB+/I8uPJ/YLpRvgx8ub3IODJpcIQU=; b=SQ780/noFXsG3cDxt9Vfx9PpvTIHe3oEaABdCRdqEOF7ZOhHaWIR/q1PmXlaxb9bpV KhbKhxvblWouEewSzkPv5q2fPknURYcsUqo8n37Kn95OZxMg2EpJdyBr4sqlCvTVyJkd KRwMp1PShc3oZy1aXwxACj/8EbHFwF+aAMX/faLYLfbriqgBtzh2Gyu95LYQ6jUEmxHb WyOGuBo0LRLYrRxsWyjLmenIwXVnk+NeiN4djNarmrSfLkxE3EkIaHg2JFlVAKNZeZH1 aUqxZJcFbKdxDyTAKFC/Yq8Or/XzqQUedqNbCSj8b47LcucF2qzNiQA2Va7qn7kzYbB3 hpHw== X-Gm-Message-State: AOAM533b+g6Q2fsykgGt4xf1gl3LZVJEVRdxy55LGGQ7XiOSIC3RjSkf /RkThe91IjlxkK409uZDIQA= X-Google-Smtp-Source: ABdhPJzMCIWBJN2hODdy4Jk2R3Y5yDv7Lahh5jSBFdXXyff09mHFtBIt9Qu2nEUQwutV6TW+CgcNOQ== X-Received: by 2002:a9d:4b07:: with SMTP id q7mr5394321otf.158.1605671868338; Tue, 17 Nov 2020 19:57:48 -0800 (PST) Received: from [192.168.2.42] (adsl-70-133-144-11.dsl.ablntx.sbcglobal.net. [70.133.144.11]) by smtp.gmail.com with ESMTPSA id t2sm1341184otr.37.2020.11.17.19.57.47 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Nov 2020 19:57:47 -0800 (PST) Message-ID: <5FB49BBB.9040300@gmail.com> Date: Tue, 17 Nov 2020 21:57:47 -0600 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Robert Menteer , Robert Menteer via Bug-dejagnu Subject: Re: bug#44703: Inadequate documentation of dejagnu.exp References: <7FA505F1-8BBE-4E27-945F-DF01CF8B1455@mac.com> In-Reply-To: <7FA505F1-8BBE-4E27-945F-DF01CF8B1455@mac.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 44703-done Cc: 44703-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: jcb62281@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Robert Menteer via Bug-dejagnu via wrote: > Section 5.1 implies each unit test is batch process. Section 5.2 > states that dejagnu.exp can be used for testing the batch processes > for unit testing. Section 4.6 says to look examine the GNU GCC > testsuite for how to write test for batch processes. When referring to the manual, please include the titles of the sections; the section numbering has recently changed and will continue to change as the manual is reorganized. > The section on using dejagnu.exp states little TCL is needed but the > GNU GCC tests have thousands of lines of TCL. It took me many days > before I finally did «find / -name dejagnu.exp» and looked to see how > to write an xxx.exp file for a unit test. > > Please document how to use the procedures in dejagnu.exp and supply a > minimal unit test xxx.exp file like the one below. In current Git master (soon to be a 1.6.3-rc), there is a chapter 6 "Unit Testing" and additional improvements to the existing unit test support in dejagnu.h are a notable item currently planned for 1.6.4. > load_lib dejagnu.exp > host_execute $srcdir/unit-code/t_opts I believe that the current manual adequately explains this, but I will add a note to my TODO list for the ongoing larger manual restructuring. Closing report as already fixed; not in current master. -- Jacob ------------=_1605671884-22569-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 17 Nov 2020 13:53:19 +0000 Received: from localhost ([127.0.0.1]:58697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf1Q6-0005i1-KN for submit@debbugs.gnu.org; Tue, 17 Nov 2020 08:53:18 -0500 Received: from lists.gnu.org ([209.51.188.17]:40412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kf1Q3-0005hs-4l for submit@debbugs.gnu.org; Tue, 17 Nov 2020 08:53:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kf1Q2-0001Bh-RR for bug-dejagnu@gnu.org; Tue, 17 Nov 2020 08:53:14 -0500 Received: from st43p00im-ztfb10061701.me.com ([17.58.63.172]:48617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kf1Q0-0003Ma-2H for bug-dejagnu@gnu.org; Tue, 17 Nov 2020 08:53:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1605621189; bh=Pu9uwwG/Yw/Z8ZOaeliI22bTapX/2hC1uJtaWE6RLYc=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=Gu/NytEWBgAi/WHhnZj8xPWXcxohSp9htH1BzBbBVR7wGxodJxMTJwvCwo20qW7Rw srg7mcnE11aPzTaidNCo+Y5GvDNzfQmNU8h2C+Ty1CZrnfTXLwSdjgqqnVBVJPXz2f gGt3c5Bb7us1OGKbgD2WI7hyCpZk+tDYVRqvX98zNSMvxhEC4tNweWFHZazW7R2++c mD40nCMELCNnBfASjltADdxuZXZJ/GcbrZ93/62egwJ1pCkNyqr9A3pdQt8HVRyG5P 1iRdw/8mhpkamGAbD7OPrp1vLF7/ecH+jophlcim9Owq5/QzfwUCaASCsMDeHkyoKA Y/COsHb/ZxeyA== Received: from [192.168.0.18] (nc-71-50-141-172.dyn.embarqhsd.net [71.50.141.172]) by st43p00im-ztfb10061701.me.com (Postfix) with ESMTPSA id 3C4E3AC09BB for ; Tue, 17 Nov 2020 13:53:09 +0000 (UTC) From: Robert Menteer Content-Type: multipart/alternative; boundary="Apple-Mail=_F113DB85-4407-41D8-A65A-F5301F75FDA7" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.21\)) Subject: Inadequate documentation of dejagnu.exp Message-Id: <7FA505F1-8BBE-4E27-945F-DF01CF8B1455@mac.com> Date: Tue, 17 Nov 2020 08:53:08 -0500 To: Robert Menteer via Bug-dejagnu X-Mailer: Apple Mail (2.3654.20.0.2.21) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-17_03:2020-11-17, 2020-11-17 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=491 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2011170103 Received-SPF: pass client-ip=17.58.63.172; envelope-from=reetnem@mac.com; helo=st43p00im-ztfb10061701.me.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/17 08:53:10 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --Apple-Mail=_F113DB85-4407-41D8-A65A-F5301F75FDA7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Section 5.1 implies each unit test is batch process. Section 5.2 states = that dejagnu.exp can be used for testing the batch processes for unit = testing. Section 4.6 says to look examine the GNU GCC testsuite for how = to write test for batch processes. The section on using dejagnu.exp states little TCL is needed but the GNU = GCC tests have thousands of lines of TCL. It took me many days before I = finally did =C2=ABfind / -name dejagnu.exp=C2=BB and looked to see how = to write an xxx.exp file for a unit test. Please document how to use the procedures in dejagnu.exp and supply a = minimal unit test xxx.exp file like the one below. load_lib dejagnu.exp host_execute $srcdir/unit-code/t_opts At a bare minimum tell people to read dejagnu.exp Thanks, Bob Menteer --Apple-Mail=_F113DB85-4407-41D8-A65A-F5301F75FDA7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Section 5.1 implies each unit test is batch process. Section = 5.2 states that dejagnu.exp can be used for testing the batch processes = for unit testing. Section 4.6 says to look examine the GNU GCC testsuite = for how to write test for batch processes.

The section on using dejagnu.exp states = little TCL is needed but the GNU GCC tests have thousands of lines of = TCL. It took me many days before I finally did =C2=ABfind / -name = dejagnu.exp=C2=BB and looked to see how to write an xxx.exp file for a = unit test.

Please document how to use the procedures in dejagnu.exp and = supply a minimal unit test xxx.exp file like the one below.

load_lib dejagnu.exp
host_execute = $srcdir/unit-code/t_opts

At a bare minimum tell people to read = dejagnu.exp


Thanks,
Bob = Menteer

= --Apple-Mail=_F113DB85-4407-41D8-A65A-F5301F75FDA7-- ------------=_1605671884-22569-1-- From unknown Fri Sep 05 08:57:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#44703: Inadequate documentation of dejagnu.exp Resent-From: Jacob Bachmeyer Original-Sender: "Debbugs-submit" Resent-CC: bug-dejagnu@gnu.org Resent-Date: Wed, 18 Nov 2020 03:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44703 X-GNU-PR-Package: dejagnu X-GNU-PR-Keywords: To: reetnem@mac.com, 44703@debbugs.gnu.org Cc: 44703-done@debbugs.gnu.org X-Debbugs-Original-To: Robert Menteer , Robert Menteer via Bug-dejagnu Reply-To: jcb62281@gmail.com Received: via spool by submit@debbugs.gnu.org id=B.160567188422610 (code B ref -1); Wed, 18 Nov 2020 03:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Nov 2020 03:58:04 +0000 Received: from localhost ([127.0.0.1]:33610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfEbc-0005sS-G5 for submit@debbugs.gnu.org; Tue, 17 Nov 2020 22:58:04 -0500 Received: from lists.gnu.org ([209.51.188.17]:52838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfEbb-0005rk-4z for submit@debbugs.gnu.org; Tue, 17 Nov 2020 22:58:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfEba-0004Ee-5r for bug-dejagnu@gnu.org; Tue, 17 Nov 2020 22:58:02 -0500 Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]:46140) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfEbN-0008VH-Bw for bug-dejagnu@gnu.org; Tue, 17 Nov 2020 22:58:01 -0500 Received: by mail-ot1-x32f.google.com with SMTP id g19so438439otp.13 for ; Tue, 17 Nov 2020 19:57:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=fs5kJ4wdZ+xx0IB+/I8uPJ/YLpRvgx8ub3IODJpcIQU=; b=MFOtnuW7n15KnBODuiiqUxsQ3eH7S9uTHfyD0P+Z1gqYlueE6veFCSSOAnjVvFPZeL q4jiORkAfX5iYTQS87e8XE/7w8k7O0tgQJT+zaJ/wxHDY4Nudg/67C+1XlhKJny/DDl8 OLMa00OigQHL2AjUKmo5Eaan5E/ou6EoPUzXTA8CiiiLawqffA31y8S0SU45Zi+NjFd5 w4gb65hwrMOoHPKt820ouMv7KzOWx5vvtEsstrW/FN19zShE9nx/zGUWqaTkRadaUq9I WNCnUgxjCSLTsjP+8Ei2qnIokdJYuUE8drpjUloe4xt7VgoRlC1lrTB8TGx3rXIvQ0cD BBnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:reply-to:user-agent :mime-version:to:cc:subject:references:in-reply-to :content-transfer-encoding; bh=fs5kJ4wdZ+xx0IB+/I8uPJ/YLpRvgx8ub3IODJpcIQU=; b=j3yKnPRDITvVhVj38l3QVlbXaKcyBBnyUIMek0gLGnhMAkjADInz0AUNuYPoCdluEL FBp8bO6NCp6HtjAe1lD0RLRmwDu2Iuj4eO4541mry48ZlUb43pYW61TS4wCIC3+/a2Ge m2Smk++jsopOvIPU4yoP65SBTj5M8V9IZbSgB3pJ8VEmThhIc2G5VVDhP7Yyg9yF1zrM 1Ab7pKnsAmRaZ7tNC7wniZdn14a14r+hNPVvpKW21hdL2aGrCyG0QaoIGQDCMiom99Nv gR6Y0mAP+c40dDLL+Z7jExCpXNuONC1C2+xiTDXlPB7Vw9qzcvuccRz/rlD71Q4yOx2i IzvA== X-Gm-Message-State: AOAM533ez3qP8OqmtTb2KxgGwbCk7y9wXKgCmDNlfqclKHX12eLcO7ap VaPKW1bMWtvGDf/p86xyQ/c= X-Google-Smtp-Source: ABdhPJzMCIWBJN2hODdy4Jk2R3Y5yDv7Lahh5jSBFdXXyff09mHFtBIt9Qu2nEUQwutV6TW+CgcNOQ== X-Received: by 2002:a9d:4b07:: with SMTP id q7mr5394321otf.158.1605671868338; Tue, 17 Nov 2020 19:57:48 -0800 (PST) Received: from [192.168.2.42] (adsl-70-133-144-11.dsl.ablntx.sbcglobal.net. [70.133.144.11]) by smtp.gmail.com with ESMTPSA id t2sm1341184otr.37.2020.11.17.19.57.47 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Nov 2020 19:57:47 -0800 (PST) Message-ID: <5FB49BBB.9040300@gmail.com> Date: Tue, 17 Nov 2020 21:57:47 -0600 From: Jacob Bachmeyer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0 MIME-Version: 1.0 References: <7FA505F1-8BBE-4E27-945F-DF01CF8B1455@mac.com> In-Reply-To: <7FA505F1-8BBE-4E27-945F-DF01CF8B1455@mac.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::32f; envelope-from=jcb62281@gmail.com; helo=mail-ot1-x32f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLYTO_END_DIGIT=0.25, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Robert Menteer via Bug-dejagnu via wrote: > Section 5.1 implies each unit test is batch process. Section 5.2 > states that dejagnu.exp can be used for testing the batch processes > for unit testing. Section 4.6 says to look examine the GNU GCC > testsuite for how to write test for batch processes. When referring to the manual, please include the titles of the sections; the section numbering has recently changed and will continue to change as the manual is reorganized. > The section on using dejagnu.exp states little TCL is needed but the > GNU GCC tests have thousands of lines of TCL. It took me many days > before I finally did «find / -name dejagnu.exp» and looked to see how > to write an xxx.exp file for a unit test. > > Please document how to use the procedures in dejagnu.exp and supply a > minimal unit test xxx.exp file like the one below. In current Git master (soon to be a 1.6.3-rc), there is a chapter 6 "Unit Testing" and additional improvements to the existing unit test support in dejagnu.h are a notable item currently planned for 1.6.4. > load_lib dejagnu.exp > host_execute $srcdir/unit-code/t_opts I believe that the current manual adequately explains this, but I will add a note to my TODO list for the ongoing larger manual restructuring. Closing report as already fixed; not in current master. -- Jacob