Hi,

this egg exposes a tiny wrapper around the POSIX nanosleep API.

Code: https://code.ptrcrt.ch/chicken-nanosleep
Docs: http://wiki.call-cc.org/eggref/5/nanosleep

Thanks!

$ test-new-egg nanosleep 
https://code.ptrcrt.ch/chicken-nanosleep/doc/trunk/nanosleep.release-info
Writing egg-locations for nanosleep to /tmp/temp811d.41894/egg-locations...
Running /usr/local/bin/henrietta-cache...
Caching egg 'nanosleep'
        Downloading egg version 0.1.0 from 
https://code.ptrcrt.ch/chicken-nanosleep/tarball/chicken-nanosleep.tar.gz?uuid=v0.1.0
 (CHICKEN release 5)
Finding out the latest version for nanosleep...
Running /usr/local/bin/salmonella on nanosleep version 0.1.0...
salmonella 3.0.1 -- a tool for testing CHICKEN eggs 
(http://wiki.call-cc.org/egg/salmonella)

Started on Wed Nov 15 10:32:40 2023
Command line: /usr/local/bin/salmonella

Options:
  chicken-install: /usr/local/bin/chicken-install
  repo-dir: /tmp/temp811d.41894/nanosleep/0.1.0/salmonella-tmp-aa55d/repo
  chicken-install-args: (-v -test)

C compiler: /usr/local/libexec/ccache/clang16
clang version 16.0.6
Target: x86_64-portbld-freebsd13.2
Thread model: posix
InstalledDir: /usr/local/llvm16/bin


C++ compiler: /usr/local/libexec/ccache/clang++16
clang version 16.0.6
Target: x86_64-portbld-freebsd13.2
Thread model: posix
InstalledDir: /usr/local/llvm16/bin


C compiler flags: -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H 
-DC_ENABLE_PTABLES -O2 -pipe -fstack-protector-strong -fno-strict-aliasing 
-I/usr/local/include/chicken 
-I'/tmp/temp811d.41894/nanosleep/0.1.0/salmonella-tmp-aa55d/repo/include/chicken'

Linker: /usr/local/libexec/ccache/clang16
Linker flags: -fstack-protector-strong -L/usr/local/lib 
-Wl,-rpath=/usr/local/lib

Libraries: -lchicken -lm -lpthread

CHICKEN banner:
CHICKEN
(c) 2008-2021, The CHICKEN Team
(c) 2000-2007, Felix L. Winkelmann
Version 5.3.0 (rev e31bbee5)
freebsd-unix-clang-x86-64 [ 64bit dload ptables ]

Environment variables:
  SALMONELLA_RUNNING: 1
  CHICKEN_INSTALL_REPOSITORY: 
/tmp/temp811d.41894/nanosleep/0.1.0/salmonella-tmp-aa55d/repo/lib/chicken/11
  CHICKEN_REPOSITORY_PATH: 
/tmp/temp811d.41894/nanosleep/0.1.0/salmonella-tmp-aa55d/repo/lib/chicken/11
  CHICKEN_EGG_CACHE: 
/tmp/temp811d.41894/nanosleep/0.1.0/salmonella-tmp-aa55d/repo/cache
  CHICKEN_INCLUDE_PATH: 
/tmp/temp811d.41894/nanosleep/0.1.0/salmonella-tmp-aa55d/repo/share/chicken
  CHICKEN_C_INCLUDE_PATH: 
/tmp/temp811d.41894/nanosleep/0.1.0/salmonella-tmp-aa55d/repo/include/chicken
  CHICKEN_HOME: (not set)
  CSC_OPTIONS: (not set)
  PATH: 
/tmp/temp811d.41894/nanosleep/0.1.0/salmonella-tmp-aa55d/repo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

==== nanosleep (1 of 1) ====
  Fetching........................................[ ok ] 0s
  Reading .egg....................................[ ok ] 0s
  Checking dependencies...........................[ ok ] 0s
  Checking category...............................[ ok ] 0s
  Checking license................................[ ok ] 0s
  Checking author.................................[ ok ] 0s
  Installing......................................[ ok ] 1s
  Checking version................................[ -- ]
  Testing.........................................[ -- ]
  Checking documentation..........................[ ok ] 0s
Removing /tmp/temp811d.41894
Egg looks ok!


--
Pietro Cerutti
I have pledged to give 10% of income to effective charities
and invite you to join me - https://givingwhatwecan.org

Reply via email to