Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
4e29cad4
Commit
4e29cad4
authored
Apr 02, 2015
by
Hisham Muhammad
Browse files
Merge branch 'master' into wip
parents
d880def0
e5b08447
Changes
1
Hide whitespace changes
Inline
Side-by-side
test_spec.lua
View file @
4e29cad4
...
@@ -12,6 +12,16 @@ local rote = require("rote")
...
@@ -12,6 +12,16 @@ local rote = require("rote")
local
rt
=
rote
.
RoteTerm
(
24
,
80
)
local
rt
=
rote
.
RoteTerm
(
24
,
80
)
local
function
os_execread
(
cmd
)
local
fd
=
io.popen
(
cmd
,
"r"
)
local
out
=
fd
:
read
(
"*a"
)
fd
:
close
()
return
(
out
:
gsub
(
"
\n
$"
,
""
))
end
local
branch
=
os_execread
(
"git branch | grep '*'"
):
sub
(
3
)
print
(
"Running in branch "
..
branch
)
os.execute
(
"make coverage"
)
os.execute
(
"make coverage"
)
os.execute
(
"rm -f *.gcda */*.gcda"
)
os.execute
(
"rm -f *.gcda */*.gcda"
)
os.execute
(
"rm -f coverage.info test.htoprc"
)
os.execute
(
"rm -f coverage.info test.htoprc"
)
...
@@ -110,7 +120,7 @@ local y_panelhdr = (function()
...
@@ -110,7 +120,7 @@ local y_panelhdr = (function()
end
end
end
)()
or
1
end
)()
or
1
local
x_metercol2
=
43
local
x_metercol2
=
(
branch
==
"wip"
)
and
41
or
43
show
()
show
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment