Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
f7b3d012
Commit
f7b3d012
authored
Sep 20, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X Default to running tests live, not under QEMU
parent
bc2e4dac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
test.sh
test.sh
+9
-5
No files found.
test.sh
View file @
f7b3d012
#!/bin/bash -e
# run wendelin.core/wcfs tests under custom linux kernel
# run wendelin.core/wcfs tests.
# if $WENDELIN_CORE_TEST_QEMU_RUNLINUX=y the tests are run under custom linux kernel.
X
=
$(
cd
`
dirname
$0
`
&&
pwd
)
if
test
-z
"
$qrun_loglevel
"
;
then
make
-C
$X
--no-print-directory
# rebuild everything
linux
=
${
LINUX
:-
$HOME
/src/linux/linux/arch/
`
uname
-m
`
/boot/bzImage
}
exec
$X
/t/qemu-runlinux
"
$linux
"
$0
"
$@
"
# respawn ourself under qemu-runlinux, if asked.
if
[
"
${
WENDELIN_CORE_TEST_QEMU_RUNLINUX
:-
n
}
"
==
y
]
;
then
if
test
-z
"
$qrun_loglevel
"
;
then
make
-C
$X
--no-print-directory
# rebuild everything
linux
=
${
LINUX
:-
$HOME
/src/linux/linux/arch/
`
uname
-m
`
/boot/bzImage
}
exec
$X
/t/qemu-runlinux
"
$linux
"
$0
"
$@
"
fi
fi
# executed under qemu-runlinux
...
...
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