tests: Updated directory structure
-Changed copyright message to reflect correct year. - Updated directory structure. - Changed directory name to snake case. - Added a README.md for checkpoint tests. Change-Id: Id350addb9cce6740a20a5a45171f80306b711efa
This commit is contained in:
11
tests/gem5/checkpoint_tests/README.md
Normal file
11
tests/gem5/checkpoint_tests/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Checkpoint tests
|
||||
|
||||
These tests run hello world binary for arm, x86, and power isa and ubuntuboot workload for x86 isa using checkpoints.
|
||||
Each binary is run in two parts:
|
||||
- Save checkpoint: A binary is run for a set amount of ticks and then a checkpoint is taken. This test checks if the checkpoint is taken.
|
||||
|
||||
- Resotre checkpoint: The same binary and board in the respective save test are used with the saved checkpoint (the checkpoint is uploaded to gem5 resources). This test checks if the binary ran properly.
|
||||
|
||||
```bash
|
||||
./main.py run gem5/checkpoint_tests/
|
||||
```
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2022 The Regents of the University of California
|
||||
# Copyright (c) 2023 The Regents of the University of California
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2022 The Regents of the University of California
|
||||
# Copyright (c) 2023 The Regents of the University of California
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2022 The Regents of the University of California
|
||||
# Copyright (c) 2023 The Regents of the University of California
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2022 The Regents of the University of California
|
||||
# Copyright (c) 2023 The Regents of the University of California
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2022 The Regents of the University of California
|
||||
# Copyright (c) 2023 The Regents of the University of California
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2022 The Regents of the University of California
|
||||
# Copyright (c) 2023 The Regents of the University of California
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2022 The Regents of the University of California
|
||||
# Copyright (c) 2023 The Regents of the University of California
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2022 The Regents of the University of California
|
||||
# Copyright (c) 2023 The Regents of the University of California
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2022 The Regents of the University of California
|
||||
# Copyright (c) 2023 The Regents of the University of California
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2021 The Regents of the University of California
|
||||
# Copyright (c) 2023 The Regents of the University of California
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2022 The Regents of the University of California
|
||||
# Copyright (c) 2023 The Regents of the University of California
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2022 The Regents of the University of California
|
||||
# Copyright (c) 2023 The Regents of the University of California
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2021-2023 The Regents of the University of California
|
||||
# Copyright (c) 2023 The Regents of the University of California
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -51,7 +51,8 @@ gem5_verify_config(
|
||||
config.base_dir,
|
||||
"tests",
|
||||
"gem5",
|
||||
"checkpoint-tests",
|
||||
"checkpoint_tests",
|
||||
"configs",
|
||||
"arm-hello-save-checkpoint.py",
|
||||
),
|
||||
config_args=[
|
||||
@@ -71,7 +72,8 @@ gem5_verify_config(
|
||||
config.base_dir,
|
||||
"tests",
|
||||
"gem5",
|
||||
"checkpoint-tests",
|
||||
"checkpoint_tests",
|
||||
"configs",
|
||||
"arm-hello-restore-checkpoint.py",
|
||||
),
|
||||
config_args=[],
|
||||
@@ -88,7 +90,8 @@ gem5_verify_config(
|
||||
config.base_dir,
|
||||
"tests",
|
||||
"gem5",
|
||||
"checkpoint-tests",
|
||||
"checkpoint_tests",
|
||||
"configs",
|
||||
"x86-hello-save-checkpoint.py",
|
||||
),
|
||||
config_args=[
|
||||
@@ -108,7 +111,8 @@ gem5_verify_config(
|
||||
config.base_dir,
|
||||
"tests",
|
||||
"gem5",
|
||||
"checkpoint-tests",
|
||||
"checkpoint_tests",
|
||||
"configs",
|
||||
"x86-hello-restore-checkpoint.py",
|
||||
),
|
||||
config_args=[],
|
||||
@@ -125,7 +129,8 @@ gem5_verify_config(
|
||||
config.base_dir,
|
||||
"tests",
|
||||
"gem5",
|
||||
"checkpoint-tests",
|
||||
"checkpoint_tests",
|
||||
"configs",
|
||||
"x86-fs-save-checkpoint.py",
|
||||
),
|
||||
config_args=[
|
||||
@@ -145,7 +150,8 @@ gem5_verify_config(
|
||||
config.base_dir,
|
||||
"tests",
|
||||
"gem5",
|
||||
"checkpoint-tests",
|
||||
"checkpoint_tests",
|
||||
"configs",
|
||||
"x86-fs-restore-checkpoint.py",
|
||||
),
|
||||
config_args=[],
|
||||
@@ -162,7 +168,8 @@ gem5_verify_config(
|
||||
config.base_dir,
|
||||
"tests",
|
||||
"gem5",
|
||||
"checkpoint-tests",
|
||||
"checkpoint_tests",
|
||||
"configs",
|
||||
"power-hello-save-checkpoint.py",
|
||||
),
|
||||
config_args=[
|
||||
@@ -182,7 +189,8 @@ gem5_verify_config(
|
||||
config.base_dir,
|
||||
"tests",
|
||||
"gem5",
|
||||
"checkpoint-tests",
|
||||
"checkpoint_tests",
|
||||
"configs",
|
||||
"power-hello-restore-checkpoint.py",
|
||||
),
|
||||
config_args=[],
|
||||
@@ -199,7 +207,8 @@ gem5_verify_config(
|
||||
# config.base_dir,
|
||||
# "tests",
|
||||
# "gem5",
|
||||
# "checkpoint-tests",
|
||||
# "checkpoint_tests",
|
||||
# "configs",
|
||||
# "mips-hello-save-checkpoint.py",
|
||||
# ),
|
||||
# config_args=[
|
||||
@@ -219,7 +228,8 @@ gem5_verify_config(
|
||||
# config.base_dir,
|
||||
# "tests",
|
||||
# "gem5",
|
||||
# "checkpoint-tests",
|
||||
# "checkpoint_tests",
|
||||
# "configs",
|
||||
# "mips-hello-restore-checkpoint.py",
|
||||
# ),
|
||||
# config_args=[],
|
||||
@@ -236,7 +246,8 @@ gem5_verify_config(
|
||||
# config.base_dir,
|
||||
# "tests",
|
||||
# "gem5",
|
||||
# "checkpoint-tests",
|
||||
# "checkpoint_tests",
|
||||
# "configs",
|
||||
# "sparc-hello-save-checkpoint.py",
|
||||
# ),
|
||||
# config_args=[
|
||||
@@ -256,7 +267,8 @@ gem5_verify_config(
|
||||
# config.base_dir,
|
||||
# "tests",
|
||||
# "gem5",
|
||||
# "checkpoint-tests",
|
||||
# "checkpoint_tests",
|
||||
# "configs",
|
||||
# "sparc-hello-restore-checkpoint.py",
|
||||
# ),
|
||||
# config_args=[],
|
||||
Reference in New Issue
Block a user