functest: fix existing scripts

A few minor adjustments to make what we currently have work,
while I prepare new func tests.

Fixes #175

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2017-08-20 04:53:13 +03:00
parent eb533f9a9c
commit e7bf8054da
5 changed files with 14 additions and 5 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
#!/bin/bash
source common.rc
source common.sh
rm -rf $RAW_DATA_LOCAL $CODE_LOCAL $TEST_REPO
+4 -1
View File
@@ -1,3 +1,6 @@
#!/bin/bash
set -e
BASE_DIR_S3=https://s3-us-west-2.amazonaws.com/dataversioncontrol/functests
RAW_DATA_S3=$BASE_DIR_S3/stackoverflow_raw_small
@@ -17,7 +20,7 @@ function _init_repo() {
dvc_info 'import xml files'
mkdir data/xml
dvc data-import ../$RAW_DATA_LOCAL/* data/xml
dvc import ../$RAW_DATA_LOCAL/* data/xml
dvc_info 'copy code'
mkdir code
+2 -1
View File
@@ -1,5 +1,6 @@
#!/bin/bash
source common.rc
source common.sh
./clean.sh
+3 -1
View File
@@ -1,6 +1,8 @@
#!/bin/bash
source common.rc
set -e
source common.sh
function run_test() {
mkdir data/tsv
+3
View File
@@ -1,3 +1,6 @@
#!/bin/bash
set -e
# 1. First ML model