Commit Graph

68 Commits

Author SHA1 Message Date
Tom Almeida b2d01a67f2 Actual working tests on strspn and strcspn 2018-03-14 10:55:01 +08:00
Jeremy Soller dd847cc67e Return with 0 in all tests 2018-03-12 21:55:46 -06:00
Jeremy Soller 232e364f60 Remove warnings, build openlibm without stack protector 2018-03-11 21:20:56 -06:00
Jeremy Soller 477e8eb4e0 Exit run, expected, or verify on error in loop 2018-03-11 21:11:08 -06:00
Jeremy Soller 41e552b696 Only expect output for a whitelist of binaries 2018-03-11 21:04:53 -06:00
Jeremy Soller 7c13ec153e Update expects 2018-03-11 21:00:53 -06:00
Sebastian Würl d4d808fcc8 Add implementation for a64l 2018-03-11 11:55:22 +01:00
Justin Raymond 23a409204f Update .gitignore 2018-03-10 12:36:42 -05:00
Justin Raymond a1e62baad7 Merge branch 'master' into strrchr 2018-03-10 11:11:46 -05:00
Justin Raymond 826cf0c61c implement strrchr 2018-03-10 11:10:19 -05:00
Tom Almeida 18283feac1 Added implementations of strchr, strcspn and strspn 2018-03-10 22:58:35 +08:00
Jeremy Soller b52a1d612d Merge pull request #59 from Tommoa/master
Add implementations of memchr and memccpy
2018-03-10 07:03:40 -07:00
Tom Almeida a2a7efa946 Update .gitignore 2018-03-10 21:52:37 +08:00
Jeremy Soller 0ee34fe836 Merge branch 'master' into sprintf 2018-03-10 06:46:17 -07:00
Tom Almeida b013f5f0ed Fixed mem test 2018-03-10 17:05:56 +08:00
Tom Almeida 4f601f4896 Added memchr and memccpy to string 2018-03-10 16:59:53 +08:00
Alex Lyon cfc1014c6e string: fix a couple minor issues in strncmp() 2018-03-09 20:54:42 -08:00
Alex Lyon 50f79e9a0e string: address performance concerns for strncmp() 2018-03-09 20:54:42 -08:00
Dan Robertson 75920d2c12 Add implementations of sprintf and snprintf
Add implementations of sprintf and snprintf so that we can get a bit
closer to compiling libc-test.
2018-03-10 02:33:03 +00:00
Paul 7108d0164e Merge branch 'master' into time 2018-03-09 08:37:40 -08:00
Dan Robertson c2ae141df3 Aarch64: Merge the final components
Merge the final components for Aarch64 support into master.
2018-03-09 14:20:42 +00:00
Paul 031fc5da27 Update Makefile 2018-03-09 05:58:55 -08:00
Paul 5632d96016 Merge branch 'master' into time 2018-03-09 05:52:29 -08:00
Paul 4d12c408fd Merge branch 'master' into time 2018-03-09 05:49:37 -08:00
Paul cdf298ba3a Merge branch 'master' into unistd 2018-03-09 05:48:22 -08:00
Paul Sajna 4d4ab1a75f fix and test 2018-03-09 05:18:21 -08:00
Paul Sajna 161d93466c fixes and tests 2018-03-09 04:48:34 -08:00
Alex Lyon dec7ecd06b tests: fix Makefile 2018-03-09 03:37:30 -08:00
Alex Lyon f5b1f872a0 stdlib: implement preliminary version of strtol() 2018-03-09 03:07:16 -08:00
Jeremy Soller 54655a4e3b Add verification makefile rule 2018-03-08 21:22:17 -07:00
Jeremy Soller 85766a41ff Expected output 2018-03-08 21:14:46 -07:00
Jeremy Soller 4da873ae79 Merge pull request #43 from MggMuggins/master
Imp va_arg for fcntl; fcntl test
2018-03-08 21:07:39 -07:00
Jeremy Soller a95a034219 Fix issues by adding support for floating point values in va_list 2018-03-08 20:54:46 -07:00
Jeremy Soller 0e766c6b53 Implement atof 2018-03-08 20:17:45 -07:00
Jeremy Soller 96358469a4 Merge branch 'master' into master 2018-03-08 20:17:08 -07:00
MggMuggins c291632492 Imp va_arg for fcntl; fcntl test 2018-03-08 20:56:50 -06:00
Paul Sajna 799c8828c2 mkdir and rmdir 2018-03-08 19:45:16 -07:00
Jeremy Soller 231d7a023a Merge pull request #42 from dlrobertson/use_va_list
fcntl: open should use a va_list
2018-03-08 19:32:34 -07:00
Dan Robertson e306e3f855 fcntl: open should use a va_list
The current implementation of open requires the user to pass all three
args to the function. It should use a va_list and allow a user to
provide only the filename and flags.
2018-03-09 02:24:25 +00:00
SamwiseFilmore 46fe488e05 Merge branch 'master' into master 2018-03-08 18:31:14 -06:00
MggMuggins 6ced871d9a ctype: tests and reorganize
Wrote tests for the functions implemented in 40558b2 and maybe made that
test a little more comprehensible.

Also made sure that fmt.sh and test.sh were being executed by bash all
the time (compatibility with other shells).
2018-03-08 18:25:11 -06:00
Jeremy Soller 07c3ce02be Fix build 2018-03-08 15:52:48 -07:00
Jeremy Soller 4198055d4a Fix tests 2018-03-08 15:43:17 -07:00
Jeremy Soller cfbe27490f Remove allocation, fix pipe example 2018-03-08 15:00:17 -07:00
Jeremy Soller 0bcabc2163 Merge remote-tracking branch 'sajattack/unistd' 2018-03-08 14:53:07 -07:00
Paul Sajna 12833a5a5c add test and fork 2018-03-08 12:25:14 -08:00
Paul Sajna 6304595a1d Merge branch 'master' of github.com:redox-os/relibc 2018-03-08 11:07:51 -08:00
Dan Robertson ec288a1b53 Add ctype functions and atoi/atol
Add ctype functions
  - isalnum
  - isalpha
  - isascii
  - isdigit
  - islower
  - isspace
  - isupper
Add stdlib functions
  - atoi
  - atol
Fix some warnings
Make a fmt run
2018-03-08 05:26:40 +00:00
Paul Sajna 3b7149612f implement perror 2018-03-07 20:57:51 -08:00
Jeremy Soller 1127c36ceb Add strerror to error test 2018-03-07 21:01:48 -07:00