Giacomo Travaglini has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/64311?usp=email )
Change subject: misc: Suggest usage of ALL instead of NULL in TESTING.md
......................................................................
misc: Suggest usage of ALL instead of NULL in TESTING.md
We can now reallty build *all* unit tests using ALL. The issue with
NULL is that some ISA specific unit tests were not actually run
therefore the user was not really running all available unittests
Change-Id: I4aab8e9a093d1f6ef4d473b0dbe240bf72dc739b
Signed-off-by: Giacomo Travaglini <giacomo.travagl...@arm.com>
---
M TESTING.md
1 file changed, 19 insertions(+), 5 deletions(-)
diff --git a/TESTING.md b/TESTING.md
index f5d8198..2273e31 100644
--- a/TESTING.md
+++ b/TESTING.md
@@ -15,7 +15,7 @@
To build and run all the unit tests:
```shell
-scons build/NULL/unittests.opt
+scons build/ALL/unittests.opt
```
All unit tests should be run prior to posting a patch to
@@ -25,20 +25,20 @@
`src/base/bitunion.test.cc`):
```shell
-scons build/NULL/base/bitunion.test.opt
-./build/NULL/base/bitunion.test.opt
+scons build/ALL/base/bitunion.test.opt
+./build/ALL/base/bitunion.test.opt
```
To list the available test functions from a test file:
```shell
-./build/NULL/base/bitunion.test.opt --gtest_list_tests
+./build/ALL/base/bitunion.test.opt --gtest_list_tests
```
To run a specific test function (e.g., BitUnionData.NormalBitfield):
```shell
-./build/NULL/base/bitunion.test.opt
--gtest_filter=BitUnionData.NormalBitfield
+./build/ALL/base/bitunion.test.opt
--gtest_filter=BitUnionData.NormalBitfield
```
# Running system-level tests
--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/64311?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I4aab8e9a093d1f6ef4d473b0dbe240bf72dc739b
Gerrit-Change-Number: 64311
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini <giacomo.travagl...@arm.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org