diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-03-27 09:48:53 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-05-01 14:30:13 -0700 |
commit | 1fd6f243cd853892834a25613e738f877845f57d (patch) | |
tree | 54fec694448ce07de47baed6c507eb40b28d1d91 /unittests | |
parent | 7e9d859eb58ba40671c38186a7b79cd37f83e9b0 (diff) |
profile: Add support for loading xml based profiles
Which includes de-serialization on demand. This will vastly reduce the
amount of resident memory that is necessary to hold the tests since test
instances are made on demand, and can be garbage collected as soon as
the run in complete.
Tested-by: Rafael Antognolli <rafael.antognolli@intel.com>
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/framework/test_profile.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/unittests/framework/test_profile.py b/unittests/framework/test_profile.py index d86db1bc5..714f7e05a 100644 --- a/unittests/framework/test_profile.py +++ b/unittests/framework/test_profile.py @@ -61,11 +61,6 @@ class TestLoadTestProfile(object): with pytest.raises(exceptions.PiglitFatalError): profile.load_test_profile('this_module_will_never_ever_exist') - def test_return_type(self): - """profile.load_test_profile: returns a TestProfile instance.""" - assert isinstance(profile.load_test_profile('sanity'), - profile.TestProfile) - class TestTestProfile(object): """Tests for profile.TestProfile.""" |