Changed abstract.target to abstract.architecture.target and abstract.architecture.target.concrete

This commit is contained in:
Mario Melara 2016-02-17 14:53:09 -08:00
parent d9e8bf1807
commit 93a92a00ee

View file

@ -46,7 +46,7 @@ def check_spec(self, abstract, concrete):
if abstract.compiler and abstract.compiler.concrete: if abstract.compiler and abstract.compiler.concrete:
self.assertEqual(abstract.compiler, concrete.compiler) self.assertEqual(abstract.compiler, concrete.compiler)
if abstract.target and abstract.target.concrete: if abstract.architecture and abstract.architecture.target.concrete:
self.assertEqual(abstract.target, concrete.target) self.assertEqual(abstract.target, concrete.target)