Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
unitgrade_private
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
tuhe
unitgrade_private
Commits
c79daba6
Commit
c79daba6
authored
1 year ago
by
tuhe
Browse files
Options
Downloads
Patches
Plain Diff
updatse
parent
401efbb5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/unitgrade_devel.egg-info/PKG-INFO
+1
-1
1 addition, 1 deletion
src/unitgrade_devel.egg-info/PKG-INFO
src/unitgrade_private/run.py
+2
-1
2 additions, 1 deletion
src/unitgrade_private/run.py
src/unitgrade_private/version.py
+1
-1
1 addition, 1 deletion
src/unitgrade_private/version.py
with
4 additions
and
3 deletions
src/unitgrade_devel.egg-info/PKG-INFO
+
1
−
1
View file @
c79daba6
Metadata-Version: 2.1
Metadata-Version: 2.1
Name: unitgrade-devel
Name: unitgrade-devel
Version: 0.1.5
3
Version: 0.1.5
4
Summary: A set of tools to develop unitgrade tests and reports and later evaluate them
Summary: A set of tools to develop unitgrade tests and reports and later evaluate them
Home-page: https://lab.compute.dtu.dk/tuhe/unitgrade_private
Home-page: https://lab.compute.dtu.dk/tuhe/unitgrade_private
Author: Tue Herlau
Author: Tue Herlau
...
...
This diff is collapsed.
Click to expand it.
src/unitgrade_private/run.py
+
2
−
1
View file @
c79daba6
...
@@ -2,6 +2,7 @@ import io
...
@@ -2,6 +2,7 @@ import io
import
select
import
select
import
subprocess
import
subprocess
import
sys
import
sys
import
subprocess
# logger = logging.getLogger()
# logger = logging.getLogger()
...
@@ -32,7 +33,7 @@ def run(cmd : str | list, print_output=True, log_output=False, check=True, *args
...
@@ -32,7 +33,7 @@ def run(cmd : str | list, print_output=True, log_output=False, check=True, *args
import
os
import
os
if
os
.
name
==
"
nt
"
:
# th juli 2023: annoying winows problem.
if
os
.
name
==
"
nt
"
:
# th juli 2023: annoying winows problem.
print
(
"
Warning, due to problem on windows the console output will not be shown while the command is runnign (error due to select.select).
"
)
print
(
"
Warning, due to problem on windows the console output will not be shown while the command is runnign (error due to select.select).
"
)
import
subprocess
p
=
subprocess
.
run
(
cmd
,
shell
=
True
,
encoding
=
"
utf-8
"
,
capture_output
=
True
)
p
=
subprocess
.
run
(
cmd
,
shell
=
True
,
encoding
=
"
utf-8
"
,
capture_output
=
True
)
# out_ = p.stdout
# out_ = p.stdout
# err_ = p.stderr
# err_ = p.stderr
...
...
This diff is collapsed.
Click to expand it.
src/unitgrade_private/version.py
+
1
−
1
View file @
c79daba6
__version__
=
"
0.1.5
3
"
__version__
=
"
0.1.5
4
"
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