mirror of https://gitee.com/bigwinds/arangodb
attempt to fix failing tests
This commit is contained in:
parent
762e072ee8
commit
a19530c57c
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue