Mercurial > hg > Members > anatofuz > nqp-cbc-tools
changeset 1:b743d32b9363
add create_test2moarvm.zsh
author | anatofuz |
---|---|
date | Sat, 03 Nov 2018 23:18:19 +0900 |
parents | b8fca1c0f503 |
children | 752703db4caf |
files | create_test2moarvm.zsh |
diffstat | 1 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/create_test2moarvm.zsh Sat Nov 03 23:18:19 2018 +0900 @@ -0,0 +1,17 @@ +#!/bin/zsh +CURRENT_DIR=$PWD +TARGET_TESTS=$1 +ORIGIN_PERL6="/mnt/dalmore-home/one/src/MoarVM_Original" +ORIGIN_MOAR="${ORIGIN_PERL6}/MoarVM" +ORIGIN_NQP="${ORIGIN_PERL6}/nqp" + +TARGET_NAMESPACE= #last dirname set... use perl ? +GENERATE_TESTS="${CURRENT_DIR}/vmtest/${TARGET_TESTS}" + +#mkdir -p ${GENERATE_TESTS} +cd ${ORIGIN_NQP} +echo $PWD +echo $TARGET_NAMESPACE +foreach test (`ls ${CURRENT_DIR}/${TARGET_TESTS}*.t`) + #echo $test +end