Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Frida
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coenen, Joachim
Frida
Commits
a528aabd
Commit
a528aabd
authored
9 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
ftest now running under cmake/ctest
parent
d2032f36
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pub/ftest/CMakeLists.txt
+1
-1
1 addition, 1 deletion
pub/ftest/CMakeLists.txt
pub/ftest/run
+0
-14
0 additions, 14 deletions
pub/ftest/run
with
1 addition
and
15 deletions
pub/ftest/CMakeLists.txt
+
1
−
1
View file @
a528aabd
...
@@ -14,5 +14,5 @@ foreach(test_src ${test_sources})
...
@@ -14,5 +14,5 @@ foreach(test_src ${test_sources})
# remove directory path and suffix, to retain just the name of the test
# remove directory path and suffix, to retain just the name of the test
string
(
REGEX REPLACE
".*/"
""
test_name
"
${
test_src
}
"
)
string
(
REGEX REPLACE
".*/"
""
test_name
"
${
test_src
}
"
)
string
(
REGEX REPLACE
".f2t$"
""
test_name
"
${
test_name
}
"
)
string
(
REGEX REPLACE
".f2t$"
""
test_name
"
${
test_name
}
"
)
add_test
(
${
test_name
}
"
${
test_src
}
"
)
add_test
(
NAME
${
test_name
}
COMMAND
"
${
test_src
}
"
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
)
endforeach
(
test_src
)
endforeach
(
test_src
)
This diff is collapsed.
Click to expand it.
pub/ftest/run
deleted
100755 → 0
+
0
−
14
View file @
d2032f36
#!/bin/bash
COUNTER
=
0
rm
-f
log.tmp
for
I
in
*
.f2t
;
do
./
$I
>>
log.tmp
if
[
$?
=
0
]
;
then
echo
"passed
$I
"
else
echo
"FAILED
$I
"
let
COUNTER
=
COUNTER+1
fi
done
echo
"=>
$COUNTER
failures. See log.tmp for full dialogs."
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