delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/11/17/03:12:58

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 33F033953829
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:from:to:cc:subject:date:message-id:reply-to;
bh=fAuRwRQoElFOQb+hpXdO7XBXbr0GTrVw2jij2ZIrYGg=;
b=XPeUAElRVxPWzlHxvneQvUMVv6c6pajJpKXpOTmhMw50ymg595MKUXcfmK/BWJlmPN
mGtrCMciUhyeKB66VbrxKnHvNqsMsCvaO9bnuxgitT1YR+IXea5fwpFeHJ9xwDdNY69G
S3wV1Vj5dCDZTMoma2ItFIrTTI79j+Mh2XWZa7AvmmdL6JLnhF75goAoDRlV4BJ4R3eu
8gke3zqDxdvsUDIe96nM6jxwquku+TnXEIjgy4aZAsh7oJLP20rIvzS54v9P0kRXqVNR
INAQZ9T74AQ2s0GqXAHF/VddaN57S7bv65vTgnS9VPVLQX82D3305m1XAeq/sX867Qpq
dFwQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=fAuRwRQoElFOQb+hpXdO7XBXbr0GTrVw2jij2ZIrYGg=;
b=XQZrX/eeAj25C8iRN6//h8yjeYRgoya2AH932CG8UEZFfZaK7uiXgsvc77fPR6dmWh
98ptozJ22wE1gVo/NceVqtm0/RAs8Ctmdplz1zAVO57HdikEJ5cXCbsTvqaNhpTsBFgY
fs0pWSJ9OJOhgp1/+Y+hI85KJIii9aWNdt75NUP+xPwyKFohuqBDYijrDvexn+/RPi/S
RG9xF4Lvj/uIV+OCBoT6dagk24z650KaIc8ocb7q6ocl9ple1shgDLqFTXI9GLx0WDKX
tXyq29j4X2VoqjMVk/jUoR3wvV7ujIofK1eC/eGFqmEQWEuIjvR/4nQdQnSBklw2uJbD
VStw==
X-Gm-Message-State: ANoB5pna1ptrf7ddl+eWjzRU5a3lq9AzwXoEnedoabTC+8Ik0H7mqRQ1
zGjq8MjFm05dXZRkRXlhHWCwUVviXOSkLHFhaBs=
X-Google-Smtp-Source: AA0mqf48UpAAXLAZt/GAddJloNVh8Z7nVy1WVCCrbm9DduSlKf0pD9nFmGCEsoQoAL11xb2/6kHBVBu4TF9Hcibcp+0=
X-Received: by 2002:ab0:2084:0:b0:410:4a79:c359 with SMTP id
r4-20020ab02084000000b004104a79c359mr563043uak.22.1668672684483; Thu, 17 Nov
2022 00:11:24 -0800 (PST)
MIME-Version: 1.0
References: <CAFMYRROEHB==jFzTCw7tVwa4_9eg5eg6igmi0ZshsT4YyKs0Cw AT mail DOT gmail DOT com>
In-Reply-To: <CAFMYRROEHB==jFzTCw7tVwa4_9eg5eg6igmi0ZshsT4YyKs0Cw@mail.gmail.com>
From: Csaba Raduly <rcsaba AT gmail DOT com>
Date: Thu, 17 Nov 2022 09:11:11 +0100
Message-ID: <CAEhDDbDPXBwywWvQgCibZ_AxuXDn6qy_PErBinmrrFQ9ZV6kUg@mail.gmail.com>
Subject: Re: Writing unit tests for newlib/libc/unix/dirname.c
To: Kevin Connor Arpe <kevinarpe AT gmail DOT com>
Cc: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Wed, 16 Nov 2022 at 18:57, Kevin Connor Arpe  wrote:
> I am trying to write unit tests for newlib/libc/unix/dirname.c.
> (That function has so many tricky corner cases!)
> I tried to follow from: newlib/testsuite/newlib.string/memcpy-1.c
> However, I cannot make unit tests run via: make test
>
> What am I doing wrong?

You didn't tell us what happened when you ran   make test.

Csaba
-- 
You can get very substantial performance improvements
by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
So if you're looking for a completely portable, 100% standards-conformant way
to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK)

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019