Logo
Explore Help
Sign In
GitHub/sphinxbase
Watch 1
Star 0
Fork 0
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
master
sphinxbase/test/unit/test_alloc/test_ckd_alloc_fail.sh
T
dhdfu 917f41b38e Admittedly a freaking huge commit for a small change. Truly solve the thread safety problem with linklist.h by getting rid of it, and making each linked-list allocator a standalone object, one for each element size. This has some other advantages since one can now free the entire contents of an allocator at once without having to crawl over all of the elements - see dag.c for an example of this. (sorry, this should be a single commit but not sure how to do that)
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@7831 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-02-20 21:11:32 +00:00

12 lines
135 B
Bash
Executable File
Raw Permalink Blame History

#!/bin/sh
. ../testfuncs.sh
./test_ckd_alloc_fail
if [ $? = 255 ]; then
pass expected_failure
else
fail expected_failure
fi
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.27.3 Page: 18ms Template: 3ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API