[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Cmd.exe test cases
From:       Frédéric Delanoy <frederic.delanoy () gmail ! com>
Date:       2016-10-28 7:50:20
Message-ID: CAE4k4euW2zig7_CLjB_kDKUTCYM_x5zoq0ujKbRo6AWV1uBZfA () mail ! gmail ! com
[Download RAW message or body]

On Fri, Oct 28, 2016 at 2:51 AM, Carlos Rafael Ramirez
<crramirez@gmail.com> wrote:
> Hello,
>
> I want to add some test cases to cmd program. But I don't understand the
> structure of them. Where to put the command and where to put the assertion
> or expected output?
>
> I am coding a patch and I want to make it like TDD, first the test fail and
> after the fix the test passes.
>
> Thank you

Hi Carlos,

Tests for builtins go to test_builitins.cmd (commands) and
test_builtins.cmd.exp (expected results)
test_cmdline.cmd[.exp] is for command line cmd usage, so not what you want here.

make crosstest can be used to create a win executable for testing on native.

For more information, see https://wiki.winehq.org/Cmd_Conformance_Tests

Regards,

Frédéric Delanoy



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic