Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
relibc
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
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
Peter Limkilde Svendsen
relibc
Commits
3eb7b997
Verified
Commit
3eb7b997
authored
6 years ago
by
jD91mZM2
Browse files
Options
Downloads
Patches
Plain Diff
Move test binaries to tests/bins/
parent
f82b48b8
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
tests/.gitignore
+1
-76
1 addition, 76 deletions
tests/.gitignore
tests/Makefile
+5
-13
5 additions, 13 deletions
tests/Makefile
with
6 additions
and
89 deletions
tests/.gitignore
+
1
−
76
View file @
3eb7b997
# Automatically generated by 'make ignore'
# Automatically generated by 'make ignore'
/*.out
/*.out
/gen/
/gen/
args
/bins/
arpainet
assert
ctype
error
fcntl/create
fcntl/fcntl
locale
math
setjmp
signal
stdio/all
stdio/freopen
stdio/fwrite
stdio/getc_unget
stdio/printf
stdio/rename
stdio/scanf
stdio/sprintf
stdlib/a64l
stdlib/atof
stdlib/atoi
stdlib/env
stdlib/mkostemps
stdlib/rand
stdlib/strtol
stdlib/strtoul
stdlib/system
string/mem
string/strchr
string/strcspn
string/strncmp
string/strpbrk
string/strrchr
string/strspn
string/strstr
string/strtok
string/strtok_r
strings
time/asctime
time/gmtime
time/localtime
time/mktime
time/strftime
time/time
unistd/brk
unistd/dup
unistd/exec
unistd/fchdir
unistd/fsync
unistd/ftruncate
unistd/getopt
unistd/isatty
unistd/pipe
unistd/rmdir
unistd/sleep
unistd/write
waitpid
wchar/mbrtowc
wchar/mbsrtowcs
wchar/putwchar
wchar/wcrtomb
dirent
pwd
resource/getrusage
stdlib/alloc
stdlib/bsearch
stdlib/mktemp
time/gettimeofday
time/times
unistd/chdir
unistd/gethostname
unistd/getid
unistd/link
unistd/setid
unistd/stat
This diff is collapsed.
Click to expand it.
tests/Makefile
+
5
−
13
View file @
3eb7b997
...
@@ -86,20 +86,11 @@ all: $(BINS)
...
@@ -86,20 +86,11 @@ all: $(BINS)
clean
:
clean
:
rm
-f
$(
BINS
)
*
.out
rm
-f
$(
BINS
)
*
.out
ignore
:
$(BINS)
echo
"# Automatically generated by 'make ignore'"
>
.gitignore
echo
"/*.out"
>>
.gitignore
echo
"/gen/"
>>
.gitignore
for
bin
in
$^
;
\
do
\
echo
"
$${
bin
}
"
>>
.gitignore
;
\
done
run
:
$(BINS)
run
:
$(BINS)
for
bin
in
$^
;
\
for
bin
in
$^
;
\
do
\
do
\
echo
"#
$${
bin
}
#"
;
\
echo
"#
$${
bin
}
#"
;
\
"
.
/
$${
bin
}
"
test
args
||
exit
$$
?
;
\
"
bins
/
$${
bin
}
"
test
args
||
exit
$$
?
;
\
done
done
expected
:
$(EXPECT_BINS)
expected
:
$(EXPECT_BINS)
...
@@ -109,7 +100,7 @@ expected: $(EXPECT_BINS)
...
@@ -109,7 +100,7 @@ expected: $(EXPECT_BINS)
do
\
do
\
echo
"#
$${
bin
}
#"
;
\
echo
"#
$${
bin
}
#"
;
\
mkdir
-p
expected/
`
dirname
$${
bin
}
`
;
\
mkdir
-p
expected/
`
dirname
$${
bin
}
`
;
\
"
.
/
$${
bin
}
"
test
args
>
"expected/
$${
bin
}
.stdout"
2>
"expected/
$${
bin
}
.stderr"
||
exit
$$
?
;
\
"
bins
/
$${
bin
}
"
test
args
>
"expected/
$${
bin
}
.stdout"
2>
"expected/
$${
bin
}
.stderr"
||
exit
$$
?
;
\
done
done
verify
:
$(EXPECT_BINS)
verify
:
$(EXPECT_BINS)
...
@@ -119,7 +110,7 @@ verify: $(EXPECT_BINS)
...
@@ -119,7 +110,7 @@ verify: $(EXPECT_BINS)
do
\
do
\
echo
"#
$${
bin
}
#"
;
\
echo
"#
$${
bin
}
#"
;
\
mkdir
-p
gen/
`
dirname
$${
bin
}
`
;
\
mkdir
-p
gen/
`
dirname
$${
bin
}
`
;
\
"
.
/
$${
bin
}
"
test
args
>
"gen/
$${
bin
}
.stdout"
2>
"gen/
$${
bin
}
.stderr"
||
exit
$$
?
;
\
"
bins
/
$${
bin
}
"
test
args
>
"gen/
$${
bin
}
.stdout"
2>
"gen/
$${
bin
}
.stderr"
||
exit
$$
?
;
\
diff
-u
"gen/
$${
bin
}
.stdout"
"expected/
$${
bin
}
.stdout"
||
exit
$$
?
;
\
diff
-u
"gen/
$${
bin
}
.stdout"
"expected/
$${
bin
}
.stdout"
||
exit
$$
?
;
\
diff
-u
"gen/
$${
bin
}
.stderr"
"expected/
$${
bin
}
.stderr"
||
exit
$$
?
;
\
diff
-u
"gen/
$${
bin
}
.stderr"
"expected/
$${
bin
}
.stderr"
||
exit
$$
?
;
\
done
done
...
@@ -140,4 +131,5 @@ TAILLIBS=\
...
@@ -140,4 +131,5 @@ TAILLIBS=\
../target/openlibm/libopenlibm.a
../target/openlibm/libopenlibm.a
%
:
%.c $(HEADLIBS) $(TAILLIBS)
%
:
%.c $(HEADLIBS) $(TAILLIBS)
gcc
-fno-builtin
-fno-stack-protector
-Wall
-g
$(
CFLAGS
)
$(
HEADLIBS
)
"
$<
"
$(
TAILLIBS
)
-o
"
$@
"
mkdir
-p
"bins/
$$(
dirname "
$@
"
)
"
gcc
-fno-builtin
-fno-stack-protector
-Wall
-g
$(
CFLAGS
)
$(
HEADLIBS
)
"
$<
"
$(
TAILLIBS
)
-o
"bins/
$@
"
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