1
0
Fork 0

attempt to fix failing tests

This commit is contained in:
Jan Steemann 2013-07-29 09:21:27 +02:00
parent 762e072ee8
commit a19530c57c
2 changed files with 6 additions and 1 deletions

View File

@ -201,7 +201,7 @@ unittests-make:
unittests-codebase-static:
@rm -f duplicates.test
@(find lib arangosh arangod arangoirb -regex ".*/.*\.\(c\|h\|cpp\)" -printf "%f\n" | sort | uniq -c | grep -v "^ \+1 \+" > duplicates.test) || true
@(find lib arangosh arangod arangoirb -regex ".*/.*\.\(c\|h\|cpp\)" -print | cut -d "/" -f2-9 | tr "[:upper:]" "[:lower:]" | sort | uniq -c | grep -v "^ \+1 \+" > duplicates.test) || true
@if [ "`grep " " duplicates.test`" != "" ]; then echo ; echo "Duplicate filenames found. These should be fixed to allow compilation with Visual Studio:"; cat duplicates.test; rm -f duplicates.test; false; fi
@rm -f duplicates.test

View File

@ -195,6 +195,11 @@ BOOST_AUTO_TEST_CASE (tst_slurp) {
char* result;
path = TRI_GetTempPath();
if (! TRI_IsDirectory(path)) {
TRI_CreateDirectory(path);
}
filename = TRI_Concatenate2File(path, "files-unittest.tmp");
// remove file if it exists