Bobby Bruce has submitted this change. (
https://gem5-review.googlesource.com/c/public/gem5/+/67758?usp=email )
(
26 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the
submitted one.
)Change subject: tests: Incorporate Looppoint example scripts into TestLib
......................................................................
tests: Incorporate Looppoint example scripts into TestLib
Change-Id: I97d89d3cc80ce8d8991ca8d3cb4aab8019324d76
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/67758
Maintainer: Bobby Bruce <bbr...@ucdavis.edu>
Tested-by: kokoro <noreply+kok...@google.com>
Reviewed-by: Bobby Bruce <bbr...@ucdavis.edu>
---
M tests/gem5/gem5_library_example_tests/test_gem5_library_examples.py
1 file changed, 68 insertions(+), 1 deletion(-)
Approvals:
kokoro: Regressions pass
Bobby Bruce: Looks good to me, approved; Looks good to me, approved
diff --git
a/tests/gem5/gem5_library_example_tests/test_gem5_library_examples.py
b/tests/gem5/gem5_library_example_tests/test_gem5_library_examples.py
index 9b5c2c6..7db46b0 100644
--- a/tests/gem5/gem5_library_example_tests/test_gem5_library_examples.py
+++ b/tests/gem5/gem5_library_example_tests/test_gem5_library_examples.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 The Regents of the University of California
+# Copyright (c) 2021-2023 The Regents of the University of California
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -324,3 +324,57 @@
valid_hosts=constants.supported_hosts,
length=constants.very_long_tag,
)
+
+gem5_verify_config(
+ name="test-gem5-library-create-looppoint-checkpoints",
+ fixtures=(),
+ verifiers=(),
+ config=joinpath(
+ config.base_dir,
+ "configs",
+ "example",
+ "gem5_library",
+ "looppoints",
+ "create-looppoint-checkpoint.py",
+ ),
+ config_args=[
+ "--checkpoint-path",
+ joinpath(resource_path, "looppoint-checkpoint-save"),
+ ],
+ valid_isas=(constants.all_compiled_tag,),
+ valid_hosts=constants.supported_hosts,
+ length=constants.very_long_tag,
+)
+
+for region in (
+ "1",
+ "2",
+ "3",
+ "5",
+ "6",
+ "7",
+ "8",
+ "9",
+ "10",
+ "11",
+ "12",
+ "13",
+ "14",
+):
+ gem5_verify_config(
+
name=f"test-gem5-library-restore-looppoint-checkpoint-region-f{region}",
+ fixtures=(),
+ verifiers=(),
+ config=joinpath(
+ config.base_dir,
+ "configs",
+ "example",
+ "gem5_library",
+ "looppoints",
+ "restore-looppoint-checkpoint.py",
+ ),
+ config_args=["--checkpoint-region", region],
+ valid_isas=(constants.all_compiled_tag,),
+ valid_hosts=constants.supported_hosts,
+ length=constants.very_long_tag,
+ )
--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/67758?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: I97d89d3cc80ce8d8991ca8d3cb4aab8019324d76
Gerrit-Change-Number: 67758
Gerrit-PatchSet: 28
Gerrit-Owner: Bobby Bruce <bbr...@ucdavis.edu>
Gerrit-Reviewer: Bobby Bruce <bbr...@ucdavis.edu>
Gerrit-Reviewer: kokoro <noreply+kok...@google.com>
Gerrit-CC: Jason Lowe-Power <power...@gmail.com>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org