你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 15:10:13 +08:00
Split up reframe tests and pytest unit tests
这个提交包含在:
0
tests/.gitignore → reframe_tests/.gitignore
vendored
0
tests/.gitignore → reframe_tests/.gitignore
vendored
@@ -7,8 +7,7 @@ import reframe as rfm
|
||||
import reframe.utility.sanity as sn
|
||||
from reframe.core.builtins import performance_function, require_deps, run_after, run_before, sanity_function, variable
|
||||
from reframe.utility import udeps
|
||||
|
||||
from tests.utilities.deferrable import path_join
|
||||
from utilities.deferrable import path_join
|
||||
|
||||
GPRMAX_ROOT_DIR = Path(__file__).parent.parent.resolve()
|
||||
PATH_TO_PYENV = os.path.join(".venv", "bin", "activate")
|
@@ -5,7 +5,7 @@ from reframe.core.builtins import parameter, run_after
|
||||
"""ReFrame tests for performance benchmarking
|
||||
|
||||
Usage:
|
||||
cd gprMax/tests
|
||||
cd gprMax/reframe_tests
|
||||
reframe -C configuraiton/{CONFIG_FILE} -c reframe_benchmarks.py -c base_tests.py -r
|
||||
"""
|
||||
|
@@ -5,7 +5,7 @@ from reframe.core.builtins import parameter, run_after
|
||||
"""ReFrame tests for basic functionality
|
||||
|
||||
Usage:
|
||||
cd gprMax/tests
|
||||
cd gprMax/reframe_tests
|
||||
reframe -C configuraiton/{CONFIG_FILE} -c reframe_tests.py -c base_tests.py -r
|
||||
"""
|
||||
|
@@ -3,7 +3,6 @@ import re
|
||||
from datetime import datetime
|
||||
from pathlib import Path
|
||||
|
||||
import matplotlib.pyplot as plt
|
||||
import pandas as pd
|
||||
|
||||
|
||||
@@ -21,7 +20,7 @@ columns_to_keep = ["num_tasks", "num_cpus_per_task", "num_tasks_per_node", "run_
|
||||
if __name__ == "__main__":
|
||||
# Parse command line arguments
|
||||
parser = argparse.ArgumentParser(
|
||||
usage="cd gprMax/tests; python -m utilities.process_perflog inputfile [-o OUTPUT]",
|
||||
usage="cd gprMax/reframe_tests; python -m utilities.process_perflog inputfile [-o OUTPUT]",
|
||||
description="Extract perfvars from reframe perflog file.",
|
||||
)
|
||||
parser.add_argument("inputfile", help="name of input file including path")
|
在新工单中引用
屏蔽一个用户