-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
19 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
import os | ||
import sys | ||
import unittest | ||
|
||
from systemrdl.parser import sa_systemrdl | ||
|
||
class TestInstalled(unittest.TestCase): | ||
def test_installed(self): | ||
if sys.version_info[0:2] <= (3, 5): | ||
# Don't care for older versions of Python. Accelerator is no longer supported | ||
return | ||
|
||
if 'SYSTEMRDL_DISABLE_ACCELERATOR' not in os.environ: | ||
# Ensure that C++ accelerator installed correctly | ||
self.assertTrue(sa_systemrdl.USE_CPP_IMPLEMENTATION) |