error running tutorial: decorated test ('MyTest') is an abstract test
See original GitHub issueWhile exploring the tutorials, I tried to run the example
import reframe as rfm
import reframe.utility as util
@rfm.simple_test
class MyTest(rfm.RegressionTest):
module_info = parameter(util.find_modules('GROMACS'))
def __init__(self):
s, e, m = self.module_info
self.valid_systems = [s]
self.valid_prog_environs = [e]
self.modules = [m]
found at https://reframe-hpc.readthedocs.io/en/v3.5.1/tutorial_advanced.html but I got an error:
$ reframe -c gromacs.py -r
[ReFrame Setup]
version: 3.5.1
command: '/nethome/mabraham/anaconda3/envs/gmxbm/bin/reframe -c gromacs.py -r'
launched by: mabraham@dev-gpu06
working directory: '/nethome/mabraham/amd-gpu-benchmarks/runs'
settings file: '<builtin>'
check search path: '/nethome/mabraham/amd-gpu-benchmarks/runs/gromacs.py'
stage directory: '/nethome/mabraham/amd-gpu-benchmarks/runs/stage'
output directory: '/nethome/mabraham/amd-gpu-benchmarks/runs/output'
/nethome/mabraham/anaconda3/envs/gmxbm/bin/reframe: run session stopped: value error: ../../anaconda3/envs/gmxbm/lib/python3.9/site-packages/reframe/core/decorators.py:88: decorated test ('MyTest') is an abstract test
raise ValueError(f'decorated test ({cls.__qualname__!r}) is an'
Did I do something wrong? How should I make the example work?
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
visual studio - Tests not running in Test Explorer - Stack Overflow
I am currently working on a solution that has currently 32 Unittests. I have been working with the resharper test runner - which...
Read more >Intro to Unit Testing C# code with NUnit and Moq (part 1)
This tutorial provides an introduction to unit testing C# with NUnit and Moq. It provides a comprehensive overview of unit testing and real ......
Read more >Reference - Spintop OpenHTF documentation - Read the Docs
The core spintop-openhtf interface to create an openhtf sequence. TestPlan simplifies the creating of openhtf sequences. Instead of declaring functions and ...
Read more >pytest Documentation - Read the Docs
Will run all tests which are decorated with the @pytest.mark.slow decorator. ... (See Demo of Python failure reports with pytest).
Read more >4. Writing Great Code - The Hitchhiker's Guide to Python [Book]
Here's an example of the kinds of things you might see when you run pep8 : $ pep8 optparse.py ... Error handling in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can test if the
util.find_modules
is working by popping the@rfm.simple_test
and doingThis last print should show you what the values of the
module_info
parameter are.Yes that would be useful