Comments (7)
$ test/test_dos.py PPDOSGITTestCase.test_fpu_qemu_f2xm1_SIM_SIM
Test PP-DOS-GIT FPU (Qemu) f2xm1 SIM_SIM ... ERROR
======================================================================
ERROR: Test PP-DOS-GIT FPU (Qemu) f2xm1 SIM_SIM
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/stas/src/dosemu2/test/fpu/qemu.py", line 42, in do_test_qemu
qemu_test_item(self, test, x, y, z)
File "/home/stas/src/dosemu2/test/fpu/qemu.py", line 68, in qemu_test_item
copy(efil.with_suffix('.exe'), self.workdir / "fputest.exe")
File "/usr/lib/python3.11/shutil.py", line 419, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.11/shutil.py", line 256, in copyfile
with open(src, 'rb') as fsrc:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/stas/src/dosemu2/test/fpu/test-i386-f2xm1.exe'
----------------------------------------------------------------------
Ran 1 test in 0.003s
FAILED (errors=1)
from dosemu2.
Sorry, I forgot to say you need to do make -C test/fpu clean all
in the build directory first.
from dosemu2.
Would you like to add some makefile
targets, so that instead of running test_dos.py
directly with broken deps, I'd run it via make,
getting the deps built as needed?
from dosemu2.
There are obviously the failures in the
test-case itself:
FAIL: f2xm1 0xb.3cae6b3899e20cep-5, expected 0x8.d1949341f4b6bafp-5 or
0x8.d1949341f4b6bbp-5, got 0x8.d1949341f4b6bb1p-5\r\n
Note that the last 2 digits do match:
0x8.d1949341f4b6bbp-5
matches 0x8.d1949341f4b6bb1p-5
.
So the "got" answer is just a more precise
variation of what was expected.
from dosemu2.
Instead of the literal comparison, you just
need to subtract reply from expected answer,
take absolute value and make sure it doesn't
exceed the threshold.
from dosemu2.
Maybe you can keep the literal comparisons
for native cpu backends (like kvm) where
the exact match is guaranteed by testing
the physical CPU and using the physical
CPU for getting the expected values.
But I suppose even the physical CPUs may
alter the rounding algorithms eventually.
from dosemu2.
Or you can try just avoid the last
digit by the use of the different output
formatter.
from dosemu2.
Related Issues (20)
- Disabling plugins in `default-configure` script is awkward, and apparently buggy HOT 1
- Compile on freebsd: add "#include <fcntl.h>" to dosemu2-devel/src/base/lib/timer/evtimer_fd.c HOT 1
- long-double math is broken on arm
- prehistoric2 regressed
- use MAP_JIT on MacOS HOT 1
- Repo for Fedora 39 not working HOT 3
- How to decode payload in debug output of the packet driver HOT 5
- disable startup messages HOT 1
- Spurious message when FDPP installed in non default location HOT 5
- DOSEMU got stuck while started program HOT 4
- File region locking not working for LORD (Legend of the Red Dragon) HOT 13
- Does not start due to `undefined symbol: FdppKernelLoad` HOT 13
- make AppImage on CI HOT 2
- find the way to package DOS programs/games HOT 183
- [q] Will the doslinux run at dosemu2 ? HOT 1
- beertriv hangs when accessed via BBS/fossil. HOT 17
- dosemu.bin: ./build/../src/base/misc/utilities.c:507: char *assemble_path(const char *, const char *): Assertion `p.we_wordc == 1' failed. HOT 4
- Can't load fdpp / libplugin_fdpp.so not found HOT 1
- Serial Port: mode output handshake configuration not working? HOT 13
- emufs.sys missing HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dosemu2.