Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LCTime
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Lanzendörfer
LCTime
Commits
57f3688e
Commit
57f3688e
authored
1 year ago
by
Thomas Kramer
Browse files
Options
Downloads
Patches
Plain Diff
pytest: run unit tests from all python files
parent
62fb9b27
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
run_tests.sh
+1
-1
1 addition, 1 deletion
run_tests.sh
src/lctime/liberty/visualize.py
+1
-1
1 addition, 1 deletion
src/lctime/liberty/visualize.py
src/lctime/logic/cmos_sim.py
+1
-1
1 addition, 1 deletion
src/lctime/logic/cmos_sim.py
with
3 additions
and
3 deletions
run_tests.sh
+
1
−
1
View file @
57f3688e
...
...
@@ -8,7 +8,7 @@ set -e
if
[
"
$(
which pytest
)
"
]
;
then
echo
run unit tests...
pytest
src/
*
pytest
$(
find src/
-name
*
.py
)
else
echo
"pytest not found, skipping unit tests"
fi
...
...
This diff is collapsed.
Click to expand it.
src/lctime/liberty/visualize.py
+
1
−
1
View file @
57f3688e
...
...
@@ -114,7 +114,7 @@ def plot_timing_ndlm(library: Group, table: Group):
plot3d
(
x_axis
,
y_axis
,
z_data
,
x_label
=
x_label
,
y_label
=
y_label
,
z_label
=
z_label
)
def
test_plot_nldm
():
def
_
test_plot_nldm
():
import
os.path
lib_file
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'
../../test_data/freepdk45/gscl45nm.lib
'
)
...
...
This diff is collapsed.
Click to expand it.
src/lctime/logic/cmos_sim.py
+
1
−
1
View file @
57f3688e
...
...
@@ -11,7 +11,7 @@ from enum import Enum
import
sympy
from
sympy.logic
import
SOPform
from
lccommon.data_types
import
ChannelType
from
..
lccommon.data_types
import
ChannelType
class
Signal
(
Enum
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment