Commit 46c4adf3 authored by norvell's avatar norvell
Browse files

Update smoke_test.sh with new prep script

parent 3a2af8b1
Loading
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -62,9 +62,7 @@ if [ $BUILD -eq 1 ];then
	make clean
	
    # Replace free -> free_, malloc -> malloc_, calloc -> calloc_
	sed -i 's/\bmalloc\b/malloc_/g' lib_{com,enc,dec,rend}/*.c
	sed -i 's/\bcalloc\b/calloc_/g' lib_{com,enc,dec,rend}/*.c
	sed -i 's/\bfree\b/free_/g' lib_{com,enc,dec,rend}/*.c
	./scripts/prepare_mem_dryrun.py

	# Enable WMOPS and disable DEBUGGING
	sed -i.bak -e "s/\/\*\s*\(#define\s*WMOPS\)\s*\*\//\1/g" lib_com/options.h