Skip to content

Commit

Permalink
add rapidyaml-yaml and rapidyaml-json
Browse files Browse the repository at this point in the history
  • Loading branch information
biojppm committed Jun 1, 2024
1 parent 1e454fa commit 0db7dce
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
17 changes: 13 additions & 4 deletions bin/run-local.sh
Original file line number Diff line number Diff line change
@@ -1,22 +1,31 @@
#!/bin/bash

# example of running this:
# set -xe ; ( cd ~/proj/yaml-runtimes ; make clean ; for proc in cpp-rapidengine cpp-rapidyaml ; do make $proc list-images ; make testv LIBRARY=$proc ; done ) ; ~/proj/yaml-test-matrix/bin/run-local.sh

set -xe

# TODO from the cmd line
procs="cpp-rapidyamlengine.event cpp-rapidyaml.event"
#procs="${1:-cpp-rapidengine.event cpp-rapidyaml.event cpp-rapidyaml.json cpp-rapidyaml.yaml}"
procs="${1:-cpp-rapidengine.event cpp-rapidyaml.event cpp-rapidyaml.json}"

ROOTDIR=$(dirname $(cd $(dirname $0) ; pwd))

cd $ROOTDIR
export PERL5LIB=$PWD/local/lib/perl5

cpanm -l local YAML::XS
cpanm -l local HTML::Template::Compiled
wspexport PERL5LIB=$PWD/local/lib/perl5

make data
make matrix
make yaml-test-suite

cp ../yaml-runtimes/list.yaml .
cp -fv ../yaml-runtimes/list.yaml .
./bin/expected

./bin/run-framework-tests -l
for proc in $procs ; do
echo "processor: $proc"
./bin/run-framework-tests --view $proc
./bin/compare-framework-tests --view $proc
done
Expand Down
4 changes: 3 additions & 1 deletion ni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
c-libfyaml.event: []
c-libyaml.event: [ empty-key ]
cpp-rapidyaml.event: [ complex-key, duplicate-key ]
cpp-rapidyamlengine.event: [ duplicate-key ]
cpp-rapidyaml.yaml: [ complex-key, duplicate-key ]
cpp-rapidyaml.json: [ complex-key, duplicate-key ]
cpp-rapidengine.event: [ duplicate-key ]
dotnet-yamldotnet.json: [ local-tag, unknown-tag ]
java-snakeyaml.event: [ empty-key ]
java-snakeyaml.json: [ empty-key, local-tag, unknown-tag ]
Expand Down

0 comments on commit 0db7dce

Please sign in to comment.