This commit is contained in:
Wengier 2021-11-23 22:40:59 -05:00
parent d090d48861
commit fa288f31f6
4 changed files with 8 additions and 10 deletions

View File

@ -16,8 +16,8 @@
- CPUID for Pentium II will now report stepping 3
and model 3 which is a minimum requirement for OSes
to attempt to use SYSENTER/SYSEXIT (joncampbell123)
- Added MSRs for SYSENTER/SYSEXIT (joncampbell123)
- Implemented Pentium II SYSENTER/SYSEXIT (joncampbell123)
- Implemented Pentium II instructions SYSENTER and
SYSEXIT, and added MSRs for them. (joncampbell123)
- 8086 and 80186 CPU types no longer check segment
limits. (joncampbell123)
- Add MSR register 0x0000001B to Pentium II
@ -47,7 +47,7 @@
J-3100 DCGA, depending on if J-3100 is enabled)
mode from other video modes. (nanshiki & Wengier)
- Added support for unit tests based on GoogleTest
framework (GTest/GMock) to ensure code stability.
framework (gTest/gMock) to ensure code stability.
Unit tests can be started with command-line option
-tests in the debug builds. Some unit tests are
ported from DOSBox Staging. (Wengier)

View File

@ -18,8 +18,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#if C_DEBUG
#include "../src/dos/drives.h"
#include <gtest/gtest.h>
@ -156,4 +154,3 @@ TEST(Set_Label, InvalidCharsEndingDotCD)
}
} // namespace
#endif

View File

@ -1,5 +1,5 @@
Source files in this subdirectory contain unit tests.
They use GTest and GMock for running unit testing.
They use gTest and gMock for running unit testing.
Unit tests can be launched with "dosbox-x -tests".
Free free to add more unit tests in this directory.
@ -7,3 +7,7 @@ Read Google Test Primer for reference of most available
features, macros, and guidance about writing unit tests:
https://google.github.io/googletest/primer.html
More information about gMock can be found at:
https://google.github.io/googletest/gmock_for_dummies.html

View File

@ -18,8 +18,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#if C_DEBUG
#include "shell.h"
#include <string>
@ -175,4 +173,3 @@ TEST_F(DOS_Shell_CMDSTest, CMD_ECHO_space_handling)
}
} // namespace
#endif