Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
Zipr Toolchain
Commits
d33d0e69
Commit
d33d0e69
authored
13 years ago
by
an7s
Browse files
Options
Downloads
Patches
Plain Diff
No commit message
No commit message
parent
ff32faad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitattributes
+1
-0
1 addition, 0 deletions
.gitattributes
examples/mul/generate_cprogs.sh
+4
-3
4 additions, 3 deletions
examples/mul/generate_cprogs.sh
examples/mul/mul.shtmpl
+1
-1
1 addition, 1 deletion
examples/mul/mul.shtmpl
examples/mul/run_tests.sh
+15
-0
15 additions, 0 deletions
examples/mul/run_tests.sh
with
21 additions
and
4 deletions
.gitattributes
+
1
−
0
View file @
d33d0e69
...
...
@@ -148,6 +148,7 @@ examples/integerbug.c -text
examples/mul/generate_cprogs.sh -text
examples/mul/mul.ctmpl -text
examples/mul/mul.shtmpl -text
examples/mul/run_tests.sh -text
examples/overflow1.c -text
examples/test1.c -text
libIRDB/Makefile -text
...
...
This diff is collapsed.
Click to expand it.
examples/mul/generate_cprogs.sh
+
4
−
3
View file @
d33d0e69
#!/bin/bash
#types="char short int long unsigned+char unsigned+short unsigned+int unsigned+long";
types
=
"char short"
types
=
"char short int long unsigned+char unsigned+short unsigned+int unsigned+long"
;
#types="char short"
#sharedlib_gccflags="-O -O2 -fomit-frame-pointer"
sharedlib_gccflags
=
"-O -O2 -fomit-frame-pointer"
#types="int char"
...
...
@@ -92,7 +93,7 @@ create_prog()
for
gccflag
in
$sharedlib_gccflags
do
create_test
$progname
_c
""
"
$gccflag
"
shared_lib
create_test
$progname
""
"
$gccflag
"
shared_lib
done
}
...
...
This diff is collapsed.
Click to expand it.
examples/mul/mul.shtmpl
+
1
−
1
View file @
d33d0e69
...
...
@@ -64,7 +64,7 @@ assert_test_env $outfile STRATAFIER STRATA TOOLCHAIN STRATAFIER_OBJCOPY IDAROOT
# path to source
testloc
=
`
pwd
`
orig
=
orig
$$
.exe
orig
=
$BENCHNAME
.
$$
.exe
# compile
gcc
${
testloc
}
/
$BENCHNAME
.c
$COMPFLAGS
-o
$orig
||
cleanup 2
"gcc failed"
...
...
This diff is collapsed.
Click to expand it.
examples/mul/run_tests.sh
0 → 100755
+
15
−
0
View file @
d33d0e69
outfile
=
tests.out
rm
$outfile
touch
$outfile
for
i
in
`
ls
mul
*
.sh
`
do
echo
running
$i
$TEST_HARNESS_HOME
/run_one_test.sh
$i
no_redirect
if
[
!
$?
-eq
0
]
;
then
echo
Test
$i
failed
>>
$outfile
else
echo
Test
$i
success
>>
$outfile
fi
done
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