|Re: [hatari-devel] The new "make test" automatic regression test suite|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] The new "make test" automatic regression test suite
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sat, 14 Apr 2018 17:24:41 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1523719483; bh=8X4liGv/zZN2RyQpAMBB6N22KJ5AC26KZ6M0PS4ARZM=; h=Date:From:To:Subject:From; b=k+YE6xHc4D31xPiMNmTc/scosxDEzA/0LQr+MuUFPV3hDH8kTwESvTOS4iPnE3hiI GYWfh0S5/OrSLG0PPWA0lhulnAkNM3ay1ncGr9XbCnIYma2Vx42R+o9Mu3SH3y9KpJ xqVJJaMhMNBH/PayDyzzClHXWfL9fURyEpRg+8aoFpHf3HbX0yx+0QzJXWTOtxHsRa tjW5JErbQ/qjf17q2Sd+SKnn/dU5Qpdg5ciYogtw8vWaqPjyhIPcjxvnG9w8AR/xQg FNeuI3Y3z4BfbZMc4x5iNgZDV5aEorB4gK9bp0NZvh+4QqhUsatDX8ONJcx1xWH0Dz 0FFWMvfRqRWIQ==
Am Sat, 14 Apr 2018 17:02:54 +0200
schrieb Thorsten Otto <admin@xxxxxxxxxxx>:
> On Samstag, 14. April 2018 14:05:52 CEST Thomas Huth wrote:
> > The disadvantage here is that you can only use PRG files that use
> > the supported subset of the GEMDOS emulation layer in Hatari.
> But that also means your test environment is quite different from
> "normal" usage. Actually, a lot of Hatari cannot be testet this way
> (i didn't look at your mini-ROM yet, but i doubt that it tries to do
> much hardware initialization, like a real TOS would do). You don't
> even know if it is able to boot the ROM, according to the settings.
That's not the purpose of the small test PRGs that we have in the tests
folder: They check special stuff like bus errors, certain CPU opcodes
(natfeats) or emulated OS calls (xbios) - and for this you certainly
don't need a full-blown TOS ROM.
For testing the boot process of real TOS ROMs, we also have got the
"tosboot" tester. But for this, you need to point it to a set of TOS
ROM images that should be tested, so this is not includable in the
automatic test suite.
> PS.: once the tests run automatically, it maybe be even possible to
> download some "official" ROM from a known location. You will need an
> internet connection anyway to clone the repo, and as long as you are
> not distributing the ROMs, there should be no legal issues (at least
> i think so)
First, mercurial can also be used offline as long as you don't want to
push/fetch stuff to/from the repository server. And believe it or not,
sometimes I even still work without internet, e.g. while traveling.
Additionally, adding a hard dependency on a third-party website which
is distributing legally debatable content should be really avoided. So
no, this idea is definitely a no-go.