├── .ci_legacy ├── .circleci │ └── config.yml ├── .gitlab-ci.yml └── .travis.yml.legacy ├── .github ├── pull_request_template.md └── workflows │ ├── demo.yml │ └── unittests.yml ├── .gitignore ├── .gitmodules ├── .readthedocs.yaml ├── INSTALLING.md ├── LICENSE.md ├── README.md ├── RELEASE.txt ├── VERSION.txt ├── bin ├── pav ├── pav-lib.bash └── query_config.py ├── builtins └── modes │ └── .gitignore ├── docs ├── .gitignore ├── DevelopmentGuidelines.rst ├── Makefile ├── README.md ├── _static │ ├── README │ ├── RELEASE.txt │ └── custom.css ├── advanced.rst ├── basics.rst ├── conf.py ├── config.rst ├── dev_tutorials │ ├── index.rst │ ├── writing_a_unittest.rst │ └── writing_docs.rst ├── genindex.rst ├── imgs │ ├── config_dir.png │ ├── config_dir.svg │ ├── logo.png │ ├── logo_dark.png │ ├── logo_small.png │ ├── logo_small_dark.png │ ├── pavilion_logo.svg │ ├── pavilion_logo2.svg │ ├── pavilion_logo2_dark.svg │ ├── pavilion_logo_single.svg │ ├── run_cmd.png │ ├── run_cmd.svg │ ├── startup_sequence.png │ ├── startup_sequence.svg │ ├── stupid_diagram.png │ ├── test_lifecycle.png │ ├── test_lifecycle.svg │ ├── test_run_dir.png │ ├── test_run_dir.svg │ ├── test_run_lifecycle │ │ ├── step1.png │ │ ├── step2.png │ │ └── step3.png │ ├── working_dir.png │ ├── working_dir.svg │ ├── working_dir2.png │ └── working_dir2.svg ├── index.rst ├── install.rst ├── plugins │ ├── basics.rst │ ├── commands.rst │ ├── expression_functions.rst │ ├── index.rst │ ├── module_wrappers.rst │ ├── result_parsers.rst │ ├── schedulers.rst │ └── sys_vars.rst ├── requirements.txt ├── results │ ├── basics.rst │ ├── evaluate.rst │ ├── index.rst │ └── parse.rst ├── source │ ├── args_and_config.rst │ ├── builder.rst │ ├── commands.rst │ ├── dir_db.rst │ ├── expression_functions.rst │ ├── index.rst │ ├── jobs.rst │ ├── log_setup.rst │ ├── misc.rst │ ├── modules.rst │ ├── output.rst │ ├── parsers.rst │ ├── results.rst │ ├── schedulers.rst │ ├── series.rst │ ├── status_file.rst │ ├── test_config.rst │ ├── test_run.rst │ ├── unittests.rst │ ├── utils.rst │ └── variables.rst ├── test_run_lifecycle.rst ├── tests │ ├── build.rst │ ├── env.rst │ ├── format.rst │ ├── index.rst │ ├── permutations.rst │ ├── run.rst │ ├── scheduling.rst │ ├── skip_conditions.rst │ ├── suites.rst │ ├── values.rst │ └── variables.rst ├── tutorials │ ├── advanced_pavilion.rst │ ├── basic_pavilion.rst │ ├── extracting_results.rst │ ├── index.rst │ └── writing_a_series.rst └── yaml_config_docs │ ├── Makefile │ ├── YamlConfigLoaders.rst │ ├── _static │ └── placeholder.txt │ ├── conf.py │ ├── elements.rst │ ├── index.rst │ └── intro.rst ├── examples ├── README.md ├── acceptance │ ├── config.yaml │ ├── pavilion.yaml │ ├── test_src │ │ ├── pynamic │ │ │ ├── Makefile.mpi4py.patch │ │ │ ├── config_pynamic.patch │ │ │ └── get-symtab-sizes.patch │ │ ├── umt │ │ │ ├── grid.tmpl │ │ │ ├── make.tmpl │ │ │ └── patches │ │ │ │ ├── DomainNeighborMapInst.cc.patch │ │ │ │ └── RegionInst.cc.patch │ │ └── vpic │ │ │ └── lpi-input.tmpl.cxx │ └── tests │ │ ├── ior.yaml │ │ ├── pynamic.yaml │ │ ├── stream.yaml │ │ ├── umt.yaml │ │ └── vpic.yaml ├── demo │ ├── .gitignore │ ├── README.md │ ├── activate.sh │ ├── demo_github_workflow.yml │ ├── hosts │ │ └── demo_host.yaml │ ├── modes │ │ └── sample_10_perc.yaml │ ├── os │ │ └── README.md │ ├── pavilion.yaml │ ├── plugins │ │ ├── README.md │ │ ├── sys_name.py │ │ └── sys_name.yapsy-plugin │ ├── series │ │ └── all_tests.yaml │ ├── test_src │ │ ├── README.md │ │ └── built_example │ │ │ ├── buildit.yaml │ │ │ └── hello_world.c │ └── tests │ │ ├── advanced.yaml │ │ ├── buildit.yaml │ │ └── demo.yaml ├── flux │ ├── Dockerfile │ ├── README.md │ ├── activate.sh │ ├── hosts │ │ └── README │ ├── pavilion.yaml │ └── tests │ │ ├── flux-example.yaml │ │ └── vars-example.yaml ├── pre-packaged │ ├── .gitignore │ ├── README.md │ ├── activate.sh │ ├── hosts │ │ └── __example_host_file.yaml │ ├── pavilion.yaml │ ├── test_src │ │ └── mpi_hello.c │ └── tests │ │ ├── hello_mpi.yaml │ │ ├── hello_world.yaml │ │ ├── hpcg.yaml │ │ ├── imb.yaml │ │ ├── ior.yaml │ │ ├── mdtest.yaml │ │ ├── snap.yaml │ │ ├── stream.yaml │ │ └── supermagic.yaml └── tutorials │ ├── .gitignore │ ├── activate.sh │ ├── hosts │ └── README │ ├── pavilion.yaml │ ├── test_src │ ├── .gitignore │ ├── hello_world.c │ └── presults_code │ │ ├── main.sh │ │ └── node.sh │ └── tests │ ├── extract_tut.yaml │ ├── slurm.yaml │ └── vars-example.yaml ├── lib ├── README.txt ├── certifi ├── chardet ├── hostlist.py ├── idna ├── lark ├── packaging │ ├── __init__.py │ ├── _elffile.py │ ├── _manylinux.py │ ├── _musllinux.py │ ├── _parser.py │ ├── _structures.py │ ├── _tokenizer.py │ ├── markers.py │ ├── metadata.py │ ├── py.typed │ ├── requirements.py │ ├── specifiers.py │ ├── tags.py │ ├── utils.py │ └── version.py ├── pavilion │ ├── __init__.py │ ├── arguments.py │ ├── build_tracker.py │ ├── builder.py │ ├── cancel_utils.py │ ├── clean.py │ ├── cmd_utils.py │ ├── commands │ │ ├── __init__.py │ │ ├── _run.py │ │ ├── _series.py │ │ ├── base_classes.py │ │ ├── build.py │ │ ├── cancel.py │ │ ├── cat.py │ │ ├── clean.py │ │ ├── config.py │ │ ├── graph.py │ │ ├── group.py │ │ ├── list_cmd.py │ │ ├── log.py │ │ ├── ls.py │ │ ├── maint.py │ │ ├── result.py │ │ ├── run.py │ │ ├── series.py │ │ ├── set_status.py │ │ ├── show.py │ │ ├── status.py │ │ ├── view.py │ │ └── wait.py │ ├── config.py │ ├── create_files.py │ ├── deferred.py │ ├── dir_db.py │ ├── enums.py │ ├── errors.py │ ├── expression_functions │ │ ├── __init__.py │ │ ├── base.py │ │ └── core.py │ ├── extract.py │ ├── filters │ │ ├── __init__.py │ │ ├── common.py │ │ ├── errors.py │ │ ├── filters.lark │ │ ├── filters.py │ │ ├── parse_time.py │ │ ├── transformer.py │ │ └── validators.py │ ├── groups.py │ ├── jobs.py │ ├── lockfile.py │ ├── log_setup.py │ ├── main.py │ ├── micro.py │ ├── module_actions.py │ ├── module_wrapper.py │ ├── output.py │ ├── parsers │ │ ├── __init__.py │ │ ├── common.py │ │ ├── expressions.py │ │ └── strings.py │ ├── path_utils.py │ ├── pavilion_variables.py │ ├── plugins │ │ ├── README.md │ │ └── __init__.py │ ├── resolve.py │ ├── resolver │ │ ├── __init__.py │ │ ├── proto_test.py │ │ ├── request.py │ │ └── resolver.py │ ├── result │ │ ├── __init__.py │ │ ├── base.py │ │ ├── common.py │ │ ├── evaluations.py │ │ ├── options.py │ │ └── parse.py │ ├── result_parsers │ │ ├── __init__.py │ │ ├── base_classes.py │ │ ├── command.py │ │ ├── constant.py │ │ ├── filecheck.py │ │ ├── json.py │ │ ├── regex.py │ │ ├── split.py │ │ └── table.py │ ├── result_utils.py │ ├── schedulers │ │ ├── __init__.py │ │ ├── advanced.py │ │ ├── basic.py │ │ ├── config.py │ │ ├── node_selection.py │ │ ├── plugins │ │ │ ├── __init__.py │ │ │ ├── flux.py │ │ │ ├── raw.py │ │ │ └── slurm.py │ │ ├── scheduler.py │ │ └── vars.py │ ├── scriptcomposer.py │ ├── series │ │ ├── __init__.py │ │ ├── common.py │ │ ├── info.py │ │ ├── series.py │ │ └── test_set.py │ ├── series_config │ │ ├── __init__.py │ │ └── file_format.py │ ├── status_file.py │ ├── status_utils.py │ ├── sys_vars │ │ ├── __init__.py │ │ ├── base_classes.py │ │ ├── host_arch.py │ │ ├── host_cpus.py │ │ ├── host_name.py │ │ ├── host_os.py │ │ ├── platform.py │ │ ├── sys_arch.py │ │ ├── sys_host.py │ │ ├── sys_name.py │ │ └── sys_os.py │ ├── test_config │ │ ├── __init__.py │ │ ├── file_format.py │ │ ├── spack.py │ │ └── utils.py │ ├── test_run │ │ ├── __init__.py │ │ ├── test_attrs.py │ │ ├── test_run.py │ │ └── utils.py │ ├── timing.py │ ├── types.py │ ├── unittest.py │ ├── utils.py │ ├── var_dict.py │ ├── variables.py │ └── wget.py ├── requests ├── similarity │ └── __init__.py ├── sub_repos │ ├── README.txt │ ├── chardet │ │ ├── LICENSE │ │ ├── MANIFEST.in │ │ ├── NOTES.rst │ │ ├── README.rst │ │ ├── bench.py │ │ ├── chardet │ │ │ ├── __init__.py │ │ │ ├── big5freq.py │ │ │ ├── big5prober.py │ │ │ ├── chardistribution.py │ │ │ ├── charsetgroupprober.py │ │ │ ├── charsetprober.py │ │ │ ├── cli │ │ │ │ ├── __init__.py │ │ │ │ └── chardetect.py │ │ │ ├── codingstatemachine.py │ │ │ ├── compat.py │ │ │ ├── cp949prober.py │ │ │ ├── enums.py │ │ │ ├── escprober.py │ │ │ ├── escsm.py │ │ │ ├── eucjpprober.py │ │ │ ├── euckrfreq.py │ │ │ ├── euckrprober.py │ │ │ ├── euctwfreq.py │ │ │ ├── euctwprober.py │ │ │ ├── gb2312freq.py │ │ │ ├── gb2312prober.py │ │ │ ├── hebrewprober.py │ │ │ ├── jisfreq.py │ │ │ ├── jpcntx.py │ │ │ ├── langbulgarianmodel.py │ │ │ ├── langgreekmodel.py │ │ │ ├── langhebrewmodel.py │ │ │ ├── langhungarianmodel.py │ │ │ ├── langrussianmodel.py │ │ │ ├── langthaimodel.py │ │ │ ├── langturkishmodel.py │ │ │ ├── latin1prober.py │ │ │ ├── mbcharsetprober.py │ │ │ ├── mbcsgroupprober.py │ │ │ ├── mbcssm.py │ │ │ ├── metadata │ │ │ │ ├── __init__.py │ │ │ │ └── languages.py │ │ │ ├── sbcharsetprober.py │ │ │ ├── sbcsgroupprober.py │ │ │ ├── sjisprober.py │ │ │ ├── universaldetector.py │ │ │ ├── utf8prober.py │ │ │ └── version.py │ │ ├── convert_language_model.py │ │ ├── setup.cfg │ │ ├── setup.py │ │ └── test.py │ ├── clean_sub_repos.sh │ ├── idna │ │ ├── HISTORY.rst │ │ ├── LICENSE.md │ │ ├── MANIFEST.in │ │ ├── README.rst │ │ ├── idna │ │ │ ├── __init__.py │ │ │ ├── codec.py │ │ │ ├── compat.py │ │ │ ├── core.py │ │ │ ├── idnadata.py │ │ │ ├── intranges.py │ │ │ ├── package_data.py │ │ │ ├── py.typed │ │ │ └── uts46data.py │ │ ├── setup.py │ │ └── tools │ │ │ ├── idna-data │ │ │ └── intranges.py │ ├── lark │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── MANIFEST.in │ │ ├── README.md │ │ ├── lark │ │ │ ├── __init__.py │ │ │ ├── __pyinstaller │ │ │ │ ├── __init__.py │ │ │ │ └── hook-lark.py │ │ │ ├── ast_utils.py │ │ │ ├── common.py │ │ │ ├── exceptions.py │ │ │ ├── grammar.py │ │ │ ├── grammars │ │ │ │ ├── common.lark │ │ │ │ ├── lark.lark │ │ │ │ ├── python.lark │ │ │ │ └── unicode.lark │ │ │ ├── indenter.py │ │ │ ├── lark.py │ │ │ ├── lexer.py │ │ │ ├── load_grammar.py │ │ │ ├── parse_tree_builder.py │ │ │ ├── parser_frontends.py │ │ │ ├── parsers │ │ │ │ ├── __init__.py │ │ │ │ ├── cyk.py │ │ │ │ ├── earley.py │ │ │ │ ├── earley_common.py │ │ │ │ ├── earley_forest.py │ │ │ │ ├── grammar_analysis.py │ │ │ │ ├── lalr_analysis.py │ │ │ │ ├── lalr_interactive_parser.py │ │ │ │ ├── lalr_parser.py │ │ │ │ └── xearley.py │ │ │ ├── py.typed │ │ │ ├── reconstruct.py │ │ │ ├── tools │ │ │ │ ├── __init__.py │ │ │ │ ├── nearley.py │ │ │ │ ├── serialize.py │ │ │ │ └── standalone.py │ │ │ ├── tree.py │ │ │ ├── tree_matcher.py │ │ │ ├── tree_templates.py │ │ │ ├── utils.py │ │ │ └── visitors.py │ │ ├── readthedocs.yml │ │ ├── setup.cfg │ │ ├── setup.py │ │ ├── test-requirements.txt │ │ └── tox.ini │ ├── python-certifi │ │ ├── LICENSE │ │ ├── MANIFEST.in │ │ ├── Makefile │ │ ├── README.rst │ │ ├── certifi │ │ │ ├── __init__.py │ │ │ ├── __main__.py │ │ │ ├── cacert.pem │ │ │ ├── core.py │ │ │ └── tests │ │ │ │ ├── __init__.py │ │ │ │ └── test_certify.py │ │ ├── setup.cfg │ │ ├── setup.py │ │ └── strip-non-ascii │ ├── python-hostlist │ │ ├── CHANGES │ │ ├── COPYING │ │ ├── MANIFEST.in │ │ ├── Makefile │ │ ├── README │ │ ├── README.git │ │ ├── dbuck │ │ ├── dbuck.1 │ │ ├── hostgrep │ │ ├── hostgrep.1 │ │ ├── hostlist │ │ ├── hostlist.1 │ │ ├── hostlist.py │ │ ├── pshbak │ │ ├── pshbak.1 │ │ ├── python-hostlist.spec │ │ └── setup.py │ ├── requests │ │ ├── .coveragerc │ │ ├── AUTHORS.rst │ │ ├── HISTORY.md │ │ ├── LICENSE │ │ ├── MANIFEST.in │ │ ├── Makefile │ │ ├── NOTICE │ │ ├── README.md │ │ ├── ext │ │ │ ├── LICENSE │ │ │ ├── flower-of-life.jpg │ │ │ ├── kr-compressed.png │ │ │ ├── kr.png │ │ │ ├── psf-compressed.png │ │ │ ├── psf.png │ │ │ ├── requests-logo-compressed.png │ │ │ ├── requests-logo.ai │ │ │ ├── requests-logo.png │ │ │ ├── requests-logo.svg │ │ │ ├── ss-compressed.png │ │ │ └── ss.png │ │ ├── pytest.ini │ │ ├── requests │ │ │ ├── __init__.py │ │ │ ├── __version__.py │ │ │ ├── _internal_utils.py │ │ │ ├── adapters.py │ │ │ ├── api.py │ │ │ ├── auth.py │ │ │ ├── certs.py │ │ │ ├── compat.py │ │ │ ├── cookies.py │ │ │ ├── exceptions.py │ │ │ ├── help.py │ │ │ ├── hooks.py │ │ │ ├── models.py │ │ │ ├── packages.py │ │ │ ├── sessions.py │ │ │ ├── status_codes.py │ │ │ ├── structures.py │ │ │ └── utils.py │ │ ├── requirements-dev.txt │ │ ├── setup.cfg │ │ ├── setup.py │ │ └── tox.ini │ └── urllib3 │ │ ├── .coveragerc │ │ ├── .pre-commit-config.yaml │ │ ├── .readthedocs.yml │ │ ├── .travis.yml │ │ ├── CHANGES.rst │ │ ├── CODE_OF_CONDUCT.md │ │ ├── LICENSE.txt │ │ ├── MANIFEST.in │ │ ├── README.rst │ │ ├── ci │ │ ├── deploy.sh │ │ ├── requests.patch │ │ ├── run_tests.sh │ │ └── upload_coverage.sh │ │ ├── codecov.yml │ │ ├── dev-requirements.txt │ │ ├── dummyserver │ │ ├── __init__.py │ │ ├── certs │ │ │ ├── README.rst │ │ │ ├── cacert.key │ │ │ ├── cacert.pem │ │ │ ├── server.crt │ │ │ └── server.key │ │ ├── handlers.py │ │ ├── proxy.py │ │ ├── server.py │ │ └── testcase.py │ │ ├── noxfile.py │ │ ├── setup.cfg │ │ ├── setup.py │ │ └── src │ │ └── urllib3 │ │ ├── __init__.py │ │ ├── _collections.py │ │ ├── _version.py │ │ ├── connection.py │ │ ├── connectionpool.py │ │ ├── contrib │ │ ├── __init__.py │ │ ├── _appengine_environ.py │ │ ├── _securetransport │ │ │ ├── __init__.py │ │ │ ├── bindings.py │ │ │ └── low_level.py │ │ ├── appengine.py │ │ ├── ntlmpool.py │ │ ├── pyopenssl.py │ │ ├── securetransport.py │ │ └── socks.py │ │ ├── exceptions.py │ │ ├── fields.py │ │ ├── filepost.py │ │ ├── packages │ │ ├── __init__.py │ │ ├── backports │ │ │ ├── __init__.py │ │ │ └── makefile.py │ │ ├── six.py │ │ └── ssl_match_hostname │ │ │ ├── __init__.py │ │ │ └── _implementation.py │ │ ├── poolmanager.py │ │ ├── request.py │ │ ├── response.py │ │ └── util │ │ ├── __init__.py │ │ ├── connection.py │ │ ├── proxy.py │ │ ├── queue.py │ │ ├── request.py │ │ ├── response.py │ │ ├── retry.py │ │ ├── ssl_.py │ │ ├── ssltransport.py │ │ ├── timeout.py │ │ ├── url.py │ │ └── wait.py ├── unittest_ex │ └── __init__.py ├── urllib3 ├── yaml_config │ ├── __init__.py │ ├── elements.py │ ├── loaders.py │ ├── scalars.py │ ├── structures.py │ ├── testlib.py │ └── validators.py ├── yapsy │ ├── AutoInstallPluginManager.py │ ├── ConfigurablePluginManager.py │ ├── FilteredPluginManager.py │ ├── IMultiprocessChildPlugin.py │ ├── IMultiprocessPlugin.py │ ├── IPlugin.py │ ├── IPluginLocator.py │ ├── MultiprocessPluginManager.py │ ├── MultiprocessPluginProxy.py │ ├── PluginFileLocator.py │ ├── PluginInfo.py │ ├── PluginManager.py │ ├── PluginManagerDecorator.py │ ├── VersionedPluginManager.py │ └── __init__.py └── yc_yaml │ ├── LICENSE │ ├── README │ ├── __init__.py │ ├── composer.py │ ├── constructor.py │ ├── cyaml.py │ ├── dumper.py │ ├── emitter.py │ ├── error.py │ ├── events.py │ ├── loader.py │ ├── nodes.py │ ├── parser.py │ ├── reader.py │ ├── representer.py │ ├── resolver.py │ ├── scanner.py │ ├── serializer.py │ └── tokens.py ├── requirements.txt └── test ├── .coverage ├── .gitignore ├── README.md ├── data ├── bad_plugins │ ├── config.yaml │ └── plugins │ │ ├── bad_activate.py │ │ ├── bad_activate.yapsy_plugin │ │ ├── bad_init.py │ │ ├── bad_init.yapsy-plugin │ │ ├── bad_module.py │ │ ├── bad_module.yapsy-plugin │ │ ├── missing_module.yapsy-plugin │ │ ├── no_plugin.py │ │ └── no_plugin.yapsy-plugin ├── config_tests.basics.yaml ├── configs-permissions │ ├── test_src │ │ ├── src.tar.gz │ │ ├── src.zip │ │ └── src │ │ │ ├── binfile │ │ │ ├── file │ │ │ ├── subdir1 │ │ │ ├── binfile │ │ │ └── file1 │ │ │ └── subdir2 │ │ │ ├── binfile2 │ │ │ └── file1 │ └── tests │ │ └── perm.yaml ├── configs-rerun │ ├── README │ ├── config.yaml │ ├── pavilion.yaml │ └── tests │ │ └── result_tests.yaml ├── configs-spec_perms │ ├── config.yaml │ ├── test_src │ │ └── src.zip │ └── tests │ │ └── perm.yaml.tmpl ├── conflicting_plugins │ ├── config.yaml │ └── plugins │ │ └── command │ │ ├── poof.py │ │ └── poof.yapsy-plugin ├── create_files_results │ ├── cf1.txt │ ├── cf2.txt │ └── tmpl1.txt ├── legacy │ ├── 795 │ │ ├── RUN_COMPLETE │ │ ├── attributes │ │ ├── build.log │ │ ├── build.sh │ │ ├── build │ │ │ ├── .built_by │ │ │ └── pav_build_log │ │ ├── build_dir │ │ │ └── pav_build_log │ │ ├── build_name │ │ ├── build_origin │ │ ├── config │ │ ├── job_id │ │ ├── kickoff.log │ │ ├── kickoff.sh │ │ ├── results.json │ │ ├── results.log │ │ ├── run.log │ │ ├── run.sh │ │ ├── run.tmpl │ │ ├── status │ │ └── variables │ └── runs.txt ├── modules │ ├── fake │ ├── mod.tcl │ ├── test_mod1 │ │ ├── 1.0 │ │ └── 1.10 │ ├── test_mod2 │ └── test_mod3 │ │ ├── 4.0 │ │ └── 5.0 ├── pav_config_dir │ ├── .gitignore │ ├── collections │ │ └── testlist.txt │ ├── config.yaml │ ├── hosts │ │ ├── defaulted.yaml │ │ ├── extended.yaml │ │ ├── layer_host.yaml │ │ └── this.yaml │ ├── modes │ │ ├── ala.yaml │ │ ├── defaulted.yaml │ │ ├── extended.yaml │ │ ├── layer_mode.yaml │ │ ├── smode1.yaml │ │ └── smode2.yaml │ ├── outside.zip │ ├── pavilion.yaml.ci │ ├── pavilion.yaml.example │ ├── platforms │ │ ├── defaulted.yaml │ │ ├── extended.yaml │ │ ├── layer_platform.yaml │ │ └── that.yaml │ ├── plugins │ │ ├── command │ │ │ ├── bop.py │ │ │ ├── bop.yapsy-plugin │ │ │ ├── poof.py │ │ │ └── poof.yapsy-plugin │ │ ├── module │ │ │ ├── bar.py │ │ │ ├── bar.yapsy-plugin │ │ │ ├── bar_generic.py │ │ │ ├── bar_generic.yapsy-plugin │ │ │ ├── foo.py │ │ │ ├── foo.yapsy-plugin │ │ │ ├── module_plugin_test.py │ │ │ └── module_plugin_test.yapsy-plugin │ │ ├── schedulers │ │ │ ├── dummy.py │ │ │ ├── dummy.yapsy-plugin │ │ │ ├── error.yapsy-plugin │ │ │ ├── error_sched.py │ │ │ ├── not_available.py │ │ │ └── not_available.yapsy-plugin │ │ └── sys │ │ │ ├── dumb_list.py │ │ │ ├── dumb_list.yapsy-plugin │ │ │ ├── dumb_os.py │ │ │ ├── dumb_os.yapsy-plugin │ │ │ ├── dumb_sys_var.py │ │ │ ├── dumb_sys_var.yapsy-plugin │ │ │ ├── dumb_user.py │ │ │ └── dumb_user.yapsy-plugin │ ├── series │ │ ├── basic.yaml │ │ ├── multi.yaml │ │ ├── order.yaml │ │ ├── series_circle1.yaml │ │ └── sleepy.yaml │ ├── suites │ │ ├── arg_filtered.yaml │ │ ├── bare_yaml.yaml │ │ ├── basic_suite_test │ │ │ └── suite.yaml │ │ ├── build_fail.yaml │ │ ├── build_parallel.yaml │ │ ├── build_parallel_fail.yaml │ │ ├── build_parallel_lots.yaml │ │ ├── build_rebuild.yaml │ │ ├── cancel_test.yaml │ │ ├── circular_symlinks │ │ │ ├── bar │ │ │ ├── foo │ │ │ └── suite.yaml │ │ ├── clean_test.yaml │ │ ├── cmd_inherit_extend.yaml │ │ ├── concurrent.yaml │ │ ├── conditional.yaml │ │ ├── config_mod_wrappers.yaml │ │ ├── default_vars_test.yaml │ │ ├── defaulted.yaml │ │ ├── defaulted_error.yaml │ │ ├── echo_test.yaml │ │ ├── extended.yaml │ │ ├── hash_suite_test.yaml │ │ ├── hash_suite_test_a │ │ │ ├── fox.txt │ │ │ ├── hosts.yaml │ │ │ ├── modes.yaml │ │ │ ├── os.yaml │ │ │ └── suite.yaml │ │ ├── hash_suite_test_b │ │ │ ├── fox.txt │ │ │ └── suite.yaml │ │ ├── hello_c.yaml │ │ ├── hello_world.yaml │ │ ├── hello_world2.yaml │ │ ├── hidden.yaml │ │ ├── hosts_suite_test │ │ │ ├── hosts.yaml │ │ │ └── suite.yaml │ │ ├── incremental.yaml │ │ ├── invalid.yaml │ │ ├── invalid_results.yaml │ │ ├── invalid_yaml.yaml │ │ ├── layer_tests.yaml │ │ ├── missing_key_above.yaml │ │ ├── missing_key_below.yaml │ │ ├── missing_key_collect.yaml │ │ ├── missing_key_same.yaml │ │ ├── modes_suite_test │ │ │ ├── modes.yaml │ │ │ └── suite.yaml │ │ ├── not_available.yaml │ │ ├── order.yaml │ │ ├── parse_errors.yaml │ │ ├── pass_fail.yaml │ │ ├── permute_on.yaml │ │ ├── permute_on_ref.yaml │ │ ├── permute_order.yaml │ │ ├── platforms_suite_test │ │ │ ├── platforms.yaml │ │ │ └── suite.yaml │ │ ├── re_search.yaml │ │ ├── required_vars.yaml │ │ ├── result_tests.yaml │ │ ├── sched_errors.yaml │ │ ├── shebang.yaml │ │ ├── sleepy.yaml │ │ ├── speed.yaml │ │ ├── suite_with_source │ │ │ ├── hello.c │ │ │ └── suite.yaml │ │ ├── test_set_errors.yaml │ │ ├── timeout_build_tests.yaml │ │ ├── timeout_run_tests.yaml │ │ ├── var_consistency.yaml │ │ ├── var_consistency2.yaml │ │ ├── var_consistency3.yaml │ │ ├── varied_time.py │ │ ├── varied_time.yaml │ │ ├── version_compatible.yaml │ │ ├── version_incompatible.yaml │ │ ├── wildcard.yaml │ │ └── wildstuff.yaml │ ├── test_src │ │ ├── binfile.bz2 │ │ ├── binfile.gz │ │ ├── binfile.xz │ │ ├── file_tests.tgz │ │ ├── foo │ │ │ └── bar │ │ │ │ └── deep.zip │ │ ├── hello.c │ │ ├── invalid_file.tar.gz │ │ ├── json-blob.txt │ │ ├── no_encaps.tgz │ │ ├── no_encaps.zip │ │ ├── softlink.zip │ │ ├── src.extensions_dont_matter │ │ ├── src.tar │ │ ├── src.tar.gz │ │ ├── src.xz │ │ ├── src.zip │ │ ├── src │ │ │ ├── binfile │ │ │ ├── file │ │ │ ├── subdir1 │ │ │ │ ├── binfile │ │ │ │ └── file1 │ │ │ └── subdir2 │ │ │ │ ├── binfile2 │ │ │ │ └── file1 │ │ ├── tables.txt │ │ ├── tmpl_bad1.pav │ │ ├── tmpl_bad2.pav │ │ ├── tmpl_bad3.pav │ │ ├── tmpl_bad4.pav │ │ ├── tmpl_bad5.pav │ │ └── tmpl_test.pav │ └── tests │ │ └── old_style.yaml ├── resolve_template_bad_key.tmpl ├── resolve_template_extra_escape.tmpl ├── resolve_template_good.sh ├── resolve_template_good.tmpl ├── resolve_template_keyerror.tmpl ├── run_test_list ├── secondary_plugins │ ├── config.yaml │ └── plugins │ │ └── command │ │ ├── blarg.py │ │ └── blarg.yapsy-plugin └── words ├── requirements.txt ├── run_tests ├── tests ├── autoexit_tests.py ├── build_cmd_tests.py ├── builder_tests.py ├── cancel_cmd_tests.py ├── cancel_tests.py ├── cat_tests.py ├── clean_cmd_tests.py ├── cmd_util_tests.py ├── conditional_tests.py ├── config_cmd_tests.py ├── config_format_tests.py ├── create_file_tests.py ├── dir_db_tests.py ├── doc_tests.py ├── errors_tests.py ├── expression_function_tests.py ├── filter_tests.py ├── general_tests.py ├── graph_cmd_tests.py ├── group_tests.py ├── list_cmd_tests.py ├── lock_fight.py ├── lock_tests.py ├── log_cmd_tests.py ├── logging_tests.py ├── ls_tests.py ├── maint_cmd_tests.py ├── mod_wrapper_tests.py ├── output_tests.py ├── parser_tests.py ├── pav_config_tests.py ├── plugin_tests.py ├── raw_sched_tests.py ├── resolve_tests.py ├── resolver_tests.py ├── result_tests.py ├── run_cmd_tests.py ├── sched_tests.py ├── scriptComposer_tests.py ├── series_cmd_tests.py ├── series_tests.py ├── show_tests.py ├── slurm_tests.py ├── spack_tests.py ├── status_cmd_tests.py ├── status_fight.py ├── status_tests.py ├── style_tests.py ├── suites_tests.py ├── sys_series_tracker_tests.py ├── test_run_tests.py ├── testset_tests.py ├── timeout_file_tests.py ├── utils_tests.py ├── variable_tests.py ├── view_cmd_tests.py ├── wait_cmd_tests.py ├── wget_tests.py ├── yaml_config_tests │ ├── __init__.py │ ├── basic_tests.py │ ├── data │ │ ├── duplicates.yaml │ │ ├── nulls.yaml │ │ ├── regex_val_type.yaml │ │ ├── string_conv_limits.yaml │ │ └── test1.yaml │ ├── defaults_tests.py │ ├── doc_tests_disabled.py │ ├── format_tests.py │ ├── list_append_tests.py │ └── regression_tests.py └── yc_yaml_tests │ ├── LICENSE │ ├── README.md │ ├── __init__.py │ ├── canonical.py │ ├── data │ ├── a-nasty-libyaml-bug.loader-error │ ├── aliases-cdumper-bug.code │ ├── aliases.events │ ├── bool.data │ ├── bool.detect │ ├── comments.events │ ├── construct-binary-py2.code │ ├── construct-binary-py2.data │ ├── construct-binary-py3.code │ ├── construct-binary-py3.data │ ├── construct-bool.code │ ├── construct-bool.data │ ├── construct-custom.code │ ├── construct-custom.data │ ├── construct-float.code │ ├── construct-float.data │ ├── construct-int.code │ ├── construct-int.data │ ├── construct-map.code │ ├── construct-map.data │ ├── construct-merge.code │ ├── construct-merge.data │ ├── construct-null.code │ ├── construct-null.data │ ├── construct-omap.code │ ├── construct-omap.data │ ├── construct-pairs.code │ ├── construct-pairs.data │ ├── construct-python-bool.code │ ├── construct-python-bool.data │ ├── construct-python-bytes-py3.code │ ├── construct-python-bytes-py3.data │ ├── construct-python-complex.code │ ├── construct-python-complex.data │ ├── construct-python-float.code │ ├── construct-python-float.data │ ├── construct-python-int.code │ ├── construct-python-int.data │ ├── construct-python-long-short-py2.code │ ├── construct-python-long-short-py2.data │ ├── construct-python-long-short-py3.code │ ├── construct-python-long-short-py3.data │ ├── construct-python-name-module.code │ ├── construct-python-name-module.data │ ├── construct-python-none.code │ ├── construct-python-none.data │ ├── construct-python-object.code │ ├── construct-python-object.data │ ├── construct-python-str-ascii.code │ ├── construct-python-str-ascii.data │ ├── construct-python-str-utf8-py2.code │ ├── construct-python-str-utf8-py2.data │ ├── construct-python-str-utf8-py3.code │ ├── construct-python-str-utf8-py3.data │ ├── construct-python-tuple-list-dict.code │ ├── construct-python-tuple-list-dict.data │ ├── construct-python-unicode-ascii-py2.code │ ├── construct-python-unicode-ascii-py2.data │ ├── construct-python-unicode-ascii-py3.code │ ├── construct-python-unicode-ascii-py3.data │ ├── construct-python-unicode-utf8-py2.code │ ├── construct-python-unicode-utf8-py2.data │ ├── construct-python-unicode-utf8-py3.code │ ├── construct-python-unicode-utf8-py3.data │ ├── construct-seq.code │ ├── construct-seq.data │ ├── construct-set.code │ ├── construct-set.data │ ├── construct-str-ascii.code │ ├── construct-str-ascii.data │ ├── construct-str-utf8-py2.code │ ├── construct-str-utf8-py2.data │ ├── construct-str-utf8-py3.code │ ├── construct-str-utf8-py3.data │ ├── construct-str.code │ ├── construct-str.data │ ├── construct-timestamp.code │ ├── construct-timestamp.data │ ├── construct-value.code │ ├── construct-value.data │ ├── document-separator-in-quoted-scalar.loader-error │ ├── documents.events │ ├── duplicate-anchor-1.loader-error │ ├── duplicate-anchor-2.loader-error │ ├── duplicate-key.former-loader-error.code │ ├── duplicate-key.former-loader-error.data │ ├── duplicate-mapping-key.former-loader-error.code │ ├── duplicate-mapping-key.former-loader-error.data │ ├── duplicate-merge-key.former-loader-error.code │ ├── duplicate-merge-key.former-loader-error.data │ ├── duplicate-tag-directive.loader-error │ ├── duplicate-value-key.former-loader-error.code │ ├── duplicate-value-key.former-loader-error.data │ ├── duplicate-yaml-directive.loader-error │ ├── emit-block-scalar-in-simple-key-context-bug.canonical │ ├── emit-block-scalar-in-simple-key-context-bug.data │ ├── emitting-unacceptable-unicode-character-bug-py2.code │ ├── emitting-unacceptable-unicode-character-bug-py2.data │ ├── emitting-unacceptable-unicode-character-bug-py2.skip-ext │ ├── emitting-unacceptable-unicode-character-bug-py3.code │ ├── emitting-unacceptable-unicode-character-bug-py3.data │ ├── emitting-unacceptable-unicode-character-bug-py3.skip-ext │ ├── emoticons.unicode │ ├── emoticons2.unicode │ ├── empty-anchor.emitter-error │ ├── empty-document-bug.canonical │ ├── empty-document-bug.data │ ├── empty-document-bug.empty │ ├── empty-documents.single-loader-error │ ├── empty-python-module.loader-error │ ├── empty-python-name.loader-error │ ├── empty-tag-handle.emitter-error │ ├── empty-tag-prefix.emitter-error │ ├── empty-tag.emitter-error │ ├── expected-document-end.emitter-error │ ├── expected-document-start.emitter-error │ ├── expected-mapping.loader-error │ ├── expected-node-1.emitter-error │ ├── expected-node-2.emitter-error │ ├── expected-nothing.emitter-error │ ├── expected-scalar.loader-error │ ├── expected-sequence.loader-error │ ├── expected-stream-start.emitter-error │ ├── explicit-document.single-loader-error │ ├── fetch-complex-value-bug.loader-error │ ├── float-representer-2.3-bug.code │ ├── float-representer-2.3-bug.data │ ├── float.data │ ├── float.detect │ ├── forbidden-entry.loader-error │ ├── forbidden-key.loader-error │ ├── forbidden-value.loader-error │ ├── implicit-document.single-loader-error │ ├── int.data │ ├── int.detect │ ├── invalid-anchor-1.loader-error │ ├── invalid-anchor-2.loader-error │ ├── invalid-anchor.emitter-error │ ├── invalid-base64-data-2.loader-error │ ├── invalid-base64-data.loader-error │ ├── invalid-block-scalar-indicator.loader-error │ ├── invalid-character.loader-error │ ├── invalid-character.stream-error │ ├── invalid-directive-line.loader-error │ ├── invalid-directive-name-1.loader-error │ ├── invalid-directive-name-2.loader-error │ ├── invalid-escape-numbers.loader-error │ ├── invalid-indentation-indicator-1.loader-error │ ├── invalid-indentation-indicator-2.loader-error │ ├── invalid-item-without-trailing-break.loader-error │ ├── invalid-merge-1.loader-error │ ├── invalid-merge-2.loader-error │ ├── invalid-omap-1.loader-error │ ├── invalid-omap-2.loader-error │ ├── invalid-omap-3.loader-error │ ├── invalid-pairs-1.loader-error │ ├── invalid-pairs-2.loader-error │ ├── invalid-pairs-3.loader-error │ ├── invalid-python-bytes-2-py3.loader-error │ ├── invalid-python-bytes-py3.loader-error │ ├── invalid-python-module-kind.loader-error │ ├── invalid-python-module-value.loader-error │ ├── invalid-python-module.loader-error │ ├── invalid-python-name-kind.loader-error │ ├── invalid-python-name-module.loader-error │ ├── invalid-python-name-object.loader-error │ ├── invalid-python-name-value.loader-error │ ├── invalid-simple-key.loader-error │ ├── invalid-single-quote-bug.code │ ├── invalid-single-quote-bug.data │ ├── invalid-starting-character.loader-error │ ├── invalid-tag-1.loader-error │ ├── invalid-tag-2.loader-error │ ├── invalid-tag-directive-handle.loader-error │ ├── invalid-tag-directive-prefix.loader-error │ ├── invalid-tag-handle-1.emitter-error │ ├── invalid-tag-handle-1.loader-error │ ├── invalid-tag-handle-2.emitter-error │ ├── invalid-tag-handle-2.loader-error │ ├── invalid-uri-escapes-1.loader-error │ ├── invalid-uri-escapes-2.loader-error │ ├── invalid-uri-escapes-3.loader-error │ ├── invalid-uri.loader-error │ ├── invalid-utf8-byte.loader-error │ ├── invalid-utf8-byte.stream-error │ ├── invalid-yaml-directive-version-1.loader-error │ ├── invalid-yaml-directive-version-2.loader-error │ ├── invalid-yaml-directive-version-3.loader-error │ ├── invalid-yaml-directive-version-4.loader-error │ ├── invalid-yaml-directive-version-5.loader-error │ ├── invalid-yaml-directive-version-6.loader-error │ ├── invalid-yaml-version.loader-error │ ├── latin.unicode │ ├── mappings.events │ ├── merge.data │ ├── merge.detect │ ├── more-floats.code │ ├── more-floats.data │ ├── negative-float-bug.code │ ├── negative-float-bug.data │ ├── no-alias-anchor.emitter-error │ ├── no-alias-anchor.skip-ext │ ├── no-block-collection-end.loader-error │ ├── no-block-mapping-end-2.loader-error │ ├── no-block-mapping-end.loader-error │ ├── no-document-start.loader-error │ ├── no-flow-mapping-end.loader-error │ ├── no-flow-sequence-end.loader-error │ ├── no-node-1.loader-error │ ├── no-node-2.loader-error │ ├── no-tag.emitter-error │ ├── null.data │ ├── null.detect │ ├── odd-utf16.stream-error │ ├── recursive-anchor.former-loader-error │ ├── recursive-list.recursive │ ├── recursive-set.recursive │ ├── recursive-state.recursive │ ├── recursive-tuple.recursive │ ├── recursive.former-dumper-error │ ├── remove-possible-simple-key-bug.loader-error │ ├── resolver.data │ ├── resolver.path │ ├── run-parser-crash-bug.data │ ├── scalars.events │ ├── scan-document-end-bug.canonical │ ├── scan-document-end-bug.data │ ├── scan-line-break-bug.canonical │ ├── scan-line-break-bug.data │ ├── sequences.events │ ├── serializer-is-already-opened.dumper-error │ ├── serializer-is-closed-1.dumper-error │ ├── serializer-is-closed-2.dumper-error │ ├── serializer-is-not-opened-1.dumper-error │ ├── serializer-is-not-opened-2.dumper-error │ ├── single-dot-is-not-float-bug.code │ ├── single-dot-is-not-float-bug.data │ ├── sloppy-indentation.canonical │ ├── sloppy-indentation.data │ ├── spec-00-01.canonical │ ├── spec-00-01.data │ ├── spec-02-01.data │ ├── spec-02-01.structure │ ├── spec-02-01.tokens │ ├── spec-02-02.data │ ├── spec-02-02.structure │ ├── spec-02-02.tokens │ ├── spec-02-03.data │ ├── spec-02-03.structure │ ├── spec-02-03.tokens │ ├── spec-02-04.data │ ├── spec-02-04.structure │ ├── spec-02-04.tokens │ ├── spec-02-05.data │ ├── spec-02-05.structure │ ├── spec-02-05.tokens │ ├── spec-02-06.data │ ├── spec-02-06.structure │ ├── spec-02-06.tokens │ ├── spec-02-07.data │ ├── spec-02-07.structure │ ├── spec-02-07.tokens │ ├── spec-02-08.data │ ├── spec-02-08.structure │ ├── spec-02-08.tokens │ ├── spec-02-09.data │ ├── spec-02-09.structure │ ├── spec-02-09.tokens │ ├── spec-02-10.data │ ├── spec-02-10.structure │ ├── spec-02-10.tokens │ ├── spec-02-11.data │ ├── spec-02-11.structure │ ├── spec-02-11.tokens │ ├── spec-02-12.data │ ├── spec-02-12.structure │ ├── spec-02-12.tokens │ ├── spec-02-13.data │ ├── spec-02-13.structure │ ├── spec-02-13.tokens │ ├── spec-02-14.data │ ├── spec-02-14.structure │ ├── spec-02-14.tokens │ ├── spec-02-15.data │ ├── spec-02-15.structure │ ├── spec-02-15.tokens │ ├── spec-02-16.data │ ├── spec-02-16.structure │ ├── spec-02-16.tokens │ ├── spec-02-17.data │ ├── spec-02-17.structure │ ├── spec-02-17.tokens │ ├── spec-02-18.data │ ├── spec-02-18.structure │ ├── spec-02-18.tokens │ ├── spec-02-19.data │ ├── spec-02-19.structure │ ├── spec-02-19.tokens │ ├── spec-02-20.data │ ├── spec-02-20.structure │ ├── spec-02-20.tokens │ ├── spec-02-21.data │ ├── spec-02-21.structure │ ├── spec-02-21.tokens │ ├── spec-02-22.data │ ├── spec-02-22.structure │ ├── spec-02-22.tokens │ ├── spec-02-23.data │ ├── spec-02-23.structure │ ├── spec-02-23.tokens │ ├── spec-02-24.data │ ├── spec-02-24.structure │ ├── spec-02-24.tokens │ ├── spec-02-25.data │ ├── spec-02-25.structure │ ├── spec-02-25.tokens │ ├── spec-02-26.data │ ├── spec-02-26.structure │ ├── spec-02-26.tokens │ ├── spec-02-27.data │ ├── spec-02-27.structure │ ├── spec-02-27.tokens │ ├── spec-02-28.data │ ├── spec-02-28.structure │ ├── spec-02-28.tokens │ ├── spec-05-01-utf16be.data │ ├── spec-05-01-utf16be.empty │ ├── spec-05-01-utf16le.data │ ├── spec-05-01-utf16le.empty │ ├── spec-05-01-utf8.data │ ├── spec-05-01-utf8.empty │ ├── spec-05-02-utf16be.data │ ├── spec-05-02-utf16be.error │ ├── spec-05-02-utf16le.data │ ├── spec-05-02-utf16le.error │ ├── spec-05-02-utf8.data │ ├── spec-05-02-utf8.error │ ├── spec-05-03.canonical │ ├── spec-05-03.data │ ├── spec-05-04.canonical │ ├── spec-05-04.data │ ├── spec-05-05.data │ ├── spec-05-05.empty │ ├── spec-05-06.canonical │ ├── spec-05-06.data │ ├── spec-05-07.canonical │ ├── spec-05-07.data │ ├── spec-05-08.canonical │ ├── spec-05-08.data │ ├── spec-05-09.canonical │ ├── spec-05-09.data │ ├── spec-05-10.data │ ├── spec-05-10.error │ ├── spec-05-11.canonical │ ├── spec-05-11.data │ ├── spec-05-12.data │ ├── spec-05-12.error │ ├── spec-05-13.canonical │ ├── spec-05-13.data │ ├── spec-05-14.canonical │ ├── spec-05-14.data │ ├── spec-05-15.data │ ├── spec-05-15.error │ ├── spec-06-01.canonical │ ├── spec-06-01.data │ ├── spec-06-02.data │ ├── spec-06-02.empty │ ├── spec-06-03.canonical │ ├── spec-06-03.data │ ├── spec-06-04.canonical │ ├── spec-06-04.data │ ├── spec-06-05.canonical │ ├── spec-06-05.data │ ├── spec-06-06.canonical │ ├── spec-06-06.data │ ├── spec-06-07.canonical │ ├── spec-06-07.data │ ├── spec-06-08.canonical │ ├── spec-06-08.data │ ├── spec-07-01.canonical │ ├── spec-07-01.data │ ├── spec-07-01.skip-ext │ ├── spec-07-02.canonical │ ├── spec-07-02.data │ ├── spec-07-02.skip-ext │ ├── spec-07-03.data │ ├── spec-07-03.error │ ├── spec-07-04.canonical │ ├── spec-07-04.data │ ├── spec-07-05.data │ ├── spec-07-05.error │ ├── spec-07-06.canonical │ ├── spec-07-06.data │ ├── spec-07-07a.canonical │ ├── spec-07-07a.data │ ├── spec-07-07b.canonical │ ├── spec-07-07b.data │ ├── spec-07-08.canonical │ ├── spec-07-08.data │ ├── spec-07-09.canonical │ ├── spec-07-09.data │ ├── spec-07-10.canonical │ ├── spec-07-10.data │ ├── spec-07-11.data │ ├── spec-07-11.empty │ ├── spec-07-12a.canonical │ ├── spec-07-12a.data │ ├── spec-07-12b.canonical │ ├── spec-07-12b.data │ ├── spec-07-13.canonical │ ├── spec-07-13.data │ ├── spec-08-01.canonical │ ├── spec-08-01.data │ ├── spec-08-02.canonical │ ├── spec-08-02.data │ ├── spec-08-03.canonical │ ├── spec-08-03.data │ ├── spec-08-04.data │ ├── spec-08-04.error │ ├── spec-08-05.canonical │ ├── spec-08-05.data │ ├── spec-08-06.data │ ├── spec-08-06.error │ ├── spec-08-07.canonical │ ├── spec-08-07.data │ ├── spec-08-08.canonical │ ├── spec-08-08.data │ ├── spec-08-09.canonical │ ├── spec-08-09.data │ ├── spec-08-10.canonical │ ├── spec-08-10.data │ ├── spec-08-11.canonical │ ├── spec-08-11.data │ ├── spec-08-12.canonical │ ├── spec-08-12.data │ ├── spec-08-13.canonical │ ├── spec-08-13.data │ ├── spec-08-13.skip-ext │ ├── spec-08-14.canonical │ ├── spec-08-14.data │ ├── spec-08-15.canonical │ ├── spec-08-15.data │ ├── spec-09-01.canonical │ ├── spec-09-01.data │ ├── spec-09-02.canonical │ ├── spec-09-02.data │ ├── spec-09-03.canonical │ ├── spec-09-03.data │ ├── spec-09-04.canonical │ ├── spec-09-04.data │ ├── spec-09-05.canonical │ ├── spec-09-05.data │ ├── spec-09-06.canonical │ ├── spec-09-06.data │ ├── spec-09-07.canonical │ ├── spec-09-07.data │ ├── spec-09-08.canonical │ ├── spec-09-08.data │ ├── spec-09-09.canonical │ ├── spec-09-09.data │ ├── spec-09-10.canonical │ ├── spec-09-10.data │ ├── spec-09-11.canonical │ ├── spec-09-11.data │ ├── spec-09-12.canonical │ ├── spec-09-12.data │ ├── spec-09-13.canonical │ ├── spec-09-13.data │ ├── spec-09-14.data │ ├── spec-09-14.error │ ├── spec-09-15.canonical │ ├── spec-09-15.data │ ├── spec-09-16.canonical │ ├── spec-09-16.data │ ├── spec-09-17.canonical │ ├── spec-09-17.data │ ├── spec-09-18.canonical │ ├── spec-09-18.data │ ├── spec-09-19.canonical │ ├── spec-09-19.data │ ├── spec-09-20.canonical │ ├── spec-09-20.data │ ├── spec-09-20.skip-ext │ ├── spec-09-21.data │ ├── spec-09-21.error │ ├── spec-09-22.canonical │ ├── spec-09-22.data │ ├── spec-09-23.canonical │ ├── spec-09-23.data │ ├── spec-09-24.canonical │ ├── spec-09-24.data │ ├── spec-09-25.canonical │ ├── spec-09-25.data │ ├── spec-09-26.canonical │ ├── spec-09-26.data │ ├── spec-09-27.canonical │ ├── spec-09-27.data │ ├── spec-09-28.canonical │ ├── spec-09-28.data │ ├── spec-09-29.canonical │ ├── spec-09-29.data │ ├── spec-09-30.canonical │ ├── spec-09-30.data │ ├── spec-09-31.canonical │ ├── spec-09-31.data │ ├── spec-09-32.canonical │ ├── spec-09-32.data │ ├── spec-09-33.canonical │ ├── spec-09-33.data │ ├── spec-10-01.canonical │ ├── spec-10-01.data │ ├── spec-10-02.canonical │ ├── spec-10-02.data │ ├── spec-10-03.canonical │ ├── spec-10-03.data │ ├── spec-10-04.canonical │ ├── spec-10-04.data │ ├── spec-10-05.canonical │ ├── spec-10-05.data │ ├── spec-10-06.canonical │ ├── spec-10-06.data │ ├── spec-10-07.canonical │ ├── spec-10-07.data │ ├── spec-10-08.data │ ├── spec-10-08.error │ ├── spec-10-09.canonical │ ├── spec-10-09.data │ ├── spec-10-10.canonical │ ├── spec-10-10.data │ ├── spec-10-11.canonical │ ├── spec-10-11.data │ ├── spec-10-12.canonical │ ├── spec-10-12.data │ ├── spec-10-13.canonical │ ├── spec-10-13.data │ ├── spec-10-14.canonical │ ├── spec-10-14.data │ ├── spec-10-15.canonical │ ├── spec-10-15.data │ ├── str.data │ ├── str.detect │ ├── tags.events │ ├── test_mark.marks │ ├── timestamp-bugs.code │ ├── timestamp-bugs.data │ ├── timestamp.data │ ├── timestamp.detect │ ├── unacceptable-key.loader-error │ ├── unclosed-bracket.loader-error │ ├── unclosed-quoted-scalar.loader-error │ ├── undefined-anchor.loader-error │ ├── undefined-constructor.loader-error │ ├── undefined-tag-handle.loader-error │ ├── unknown.dumper-error │ ├── unsupported-version.emitter-error │ ├── utf16be.code │ ├── utf16be.data │ ├── utf16le.code │ ├── utf16le.data │ ├── utf8-implicit.code │ ├── utf8-implicit.data │ ├── utf8.code │ ├── utf8.data │ ├── value.data │ ├── value.detect │ ├── yaml.data │ └── yaml.detect │ ├── test_all.py │ ├── test_appliance.py │ ├── test_canonical.py │ ├── test_emitter.py │ ├── test_errors.py │ ├── test_input_output.py │ ├── test_mark.py │ ├── test_reader.py │ ├── test_recursive.py │ ├── test_resolver.py │ ├── test_structure.py │ ├── test_tokens.py │ ├── test_yaml.py │ └── yaml_tests.py └── utils ├── README ├── check_pav_deps.py ├── lock_test.py ├── make_symlinks_relative ├── spack_setup └── table-check.py /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/.gitmodules -------------------------------------------------------------------------------- /VERSION.txt: -------------------------------------------------------------------------------- 1 | # Pavilion is currently version 2.0, and will stay at this version until 2 | # further LANL/DOE version are approved. See RELEASE.txt to find a more 3 | # useful number to track Pavilion releases. 4 | 2.0 5 | -------------------------------------------------------------------------------- /builtins/modes/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/builtins/modes/.gitignore -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | _build 2 | -------------------------------------------------------------------------------- /docs/_static/README: -------------------------------------------------------------------------------- 1 | This directory must exist (and be part of the git repo), but only contains 2 | data after building the documentation. 3 | -------------------------------------------------------------------------------- /docs/_static/RELEASE.txt: -------------------------------------------------------------------------------- 1 | ../../RELEASE.txt -------------------------------------------------------------------------------- /docs/_static/custom.css: -------------------------------------------------------------------------------- 1 | .admonition.warning { 2 | background-color: #fff8dc; /* Match warning background */ 3 | border: 1px solid #f0ad4e; 4 | } 5 | 6 | .admonition.warning > .admonition-title { 7 | color: #8a6d3b; 8 | } 9 | -------------------------------------------------------------------------------- /docs/dev_tutorials/index.rst: -------------------------------------------------------------------------------- 1 | .. toctree:: 2 | :maxdepth: 2 3 | :caption: Tutorial Contents: 4 | 5 | writing_docs.rst 6 | writing_a_unittest.rst 7 | -------------------------------------------------------------------------------- /docs/genindex.rst: -------------------------------------------------------------------------------- 1 | Index 2 | ===== 3 | -------------------------------------------------------------------------------- /docs/imgs/config_dir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/imgs/config_dir.png -------------------------------------------------------------------------------- /docs/imgs/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/imgs/logo.png -------------------------------------------------------------------------------- /docs/imgs/logo_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/imgs/logo_dark.png -------------------------------------------------------------------------------- /docs/imgs/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/imgs/logo_small.png -------------------------------------------------------------------------------- /docs/imgs/logo_small_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/imgs/logo_small_dark.png -------------------------------------------------------------------------------- /docs/imgs/run_cmd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/imgs/run_cmd.png -------------------------------------------------------------------------------- /docs/imgs/startup_sequence.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/imgs/startup_sequence.png -------------------------------------------------------------------------------- /docs/imgs/stupid_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/imgs/stupid_diagram.png -------------------------------------------------------------------------------- /docs/imgs/test_lifecycle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/imgs/test_lifecycle.png -------------------------------------------------------------------------------- /docs/imgs/test_run_dir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/imgs/test_run_dir.png -------------------------------------------------------------------------------- /docs/imgs/test_run_lifecycle/step1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/imgs/test_run_lifecycle/step1.png -------------------------------------------------------------------------------- /docs/imgs/test_run_lifecycle/step2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/imgs/test_run_lifecycle/step2.png -------------------------------------------------------------------------------- /docs/imgs/test_run_lifecycle/step3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/imgs/test_run_lifecycle/step3.png -------------------------------------------------------------------------------- /docs/imgs/working_dir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/imgs/working_dir.png -------------------------------------------------------------------------------- /docs/imgs/working_dir2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/imgs/working_dir2.png -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | # Requirements for building documentation. 2 | 3 | sphinx > 4.0 4 | sphinx_rtd_theme >= 1.0.0 5 | -------------------------------------------------------------------------------- /docs/results/index.rst: -------------------------------------------------------------------------------- 1 | .. toctree:: 2 | :maxdepth: 2 3 | :caption: Tests Contents: 4 | 5 | basics.rst 6 | parse.rst 7 | evaluate.rst 8 | -------------------------------------------------------------------------------- /docs/source/dir_db.rst: -------------------------------------------------------------------------------- 1 | Dir Database 2 | ============ 3 | 4 | .. contents:: Table of Contents 5 | 6 | .. automodule:: pavilion.dir_db 7 | :members: 8 | 9 | Dir DB Filters 10 | -------------- 11 | 12 | .. automodule:: pavilion.filters 13 | :members: 14 | -------------------------------------------------------------------------------- /docs/source/jobs.rst: -------------------------------------------------------------------------------- 1 | Pavilion Job Objects 2 | ==================== 3 | 4 | .. contents:: Table of Contents 5 | 6 | pavilion\.jobs module 7 | -------------------------- 8 | 9 | .. automodule:: pavilion.jobs 10 | :members: 11 | :undoc-members: 12 | :show-inheritance: 13 | -------------------------------------------------------------------------------- /docs/source/series.rst: -------------------------------------------------------------------------------- 1 | Test Series 2 | =========== 3 | 4 | .. _series: 5 | 6 | .. automodule:: pavilion.series 7 | :members: 8 | :undoc-members: 9 | :show-inheritance: 10 | 11 | -------------------------------------------------------------------------------- /docs/source/status_file.rst: -------------------------------------------------------------------------------- 1 | Status Files 2 | ============ 3 | 4 | .. _status_file: 5 | 6 | Status Files 7 | ------------ 8 | 9 | .. automodule:: pavilion.status_file 10 | :members: 11 | :undoc-members: 12 | :show-inheritance: 13 | -------------------------------------------------------------------------------- /docs/source/unittests.rst: -------------------------------------------------------------------------------- 1 | UnitTests 2 | ========= 3 | 4 | .. _unittests: 5 | 6 | .. automodule:: pavilion.unittest 7 | :members: PavTestCase 8 | :undoc-members: 9 | :show-inheritance: 10 | :private-members: 11 | :exclude-members: ColorResult 12 | -------------------------------------------------------------------------------- /docs/tutorials/index.rst: -------------------------------------------------------------------------------- 1 | .. _tutorials: 2 | 3 | .. toctree:: 4 | :maxdepth: 2 5 | :caption: Tutorial Contents: 6 | 7 | basic_pavilion.rst 8 | advanced_pavilion.rst 9 | extracting_results.rst 10 | writing_a_series.rst 11 | -------------------------------------------------------------------------------- /docs/yaml_config_docs/_static/placeholder.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/docs/yaml_config_docs/_static/placeholder.txt -------------------------------------------------------------------------------- /examples/acceptance/config.yaml: -------------------------------------------------------------------------------- 1 | {label: main, working_dir: examples/working_dir} 2 | -------------------------------------------------------------------------------- /examples/demo/.gitignore: -------------------------------------------------------------------------------- 1 | test_src/gzip* 2 | test_src/.gzip* 3 | working_dir 4 | *.hash 5 | -------------------------------------------------------------------------------- /examples/demo/activate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | export PAV_CONFIG_DIR="$(dirname "$(realpath "${BASH_SOURCE[0]}")")" 4 | PAV_DIR="$(dirname "$(dirname "${PAV_CONFIG_DIR}")")" 5 | 6 | export PATH=$PATH:$PAV_DIR/bin 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/demo/demo_github_workflow.yml: -------------------------------------------------------------------------------- 1 | ../../.github/workflows/demo.yml -------------------------------------------------------------------------------- /examples/demo/os/README.md: -------------------------------------------------------------------------------- 1 | # OS Configs 2 | 3 | OS configs are just like host configs, except they're applied based 4 | the system os. The host config is applied on top of the OS config. 5 | 6 | Their purpose is to allow you to group settings that are the same for 7 | a whole set of machines. 8 | -------------------------------------------------------------------------------- /examples/demo/pavilion.yaml: -------------------------------------------------------------------------------- 1 | working_dir: working_dir 2 | 3 | # If you're behind a proxy, set your proxy settings here. 4 | proxies: 5 | # http: http://myproxy.dom.ocm:8080 6 | # https: http://myproxy.dom.com:8080 7 | 8 | -------------------------------------------------------------------------------- /examples/demo/plugins/sys_name.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = System Name 3 | Module = sys_name 4 | -------------------------------------------------------------------------------- /examples/demo/test_src/built_example/buildit.yaml: -------------------------------------------------------------------------------- 1 | base: 2 | build: 3 | source_path: built_example/hello_world.c 4 | 5 | modules: gcc 6 | 7 | cmds: 8 | - gcc -o hello hello_world.c 9 | 10 | 11 | run: 12 | cmds: 13 | - ./hello 14 | -------------------------------------------------------------------------------- /examples/demo/test_src/built_example/hello_world.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | 5 | printf("Hello world!"); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /examples/demo/tests/buildit.yaml: -------------------------------------------------------------------------------- 1 | ../test_src/built_example/buildit.yaml -------------------------------------------------------------------------------- /examples/flux/activate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | export PAV_CONFIG_DIR="$(dirname "$(realpath "${BASH_SOURCE[0]}")")" 4 | PAV_DIR="$(dirname "$(dirname "${PAV_CONFIG_DIR}")")" 5 | 6 | export PATH=$PATH:$PAV_DIR/bin 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/flux/pavilion.yaml: -------------------------------------------------------------------------------- 1 | working_dir: working_dir 2 | -------------------------------------------------------------------------------- /examples/pre-packaged/.gitignore: -------------------------------------------------------------------------------- 1 | test_src/* 2 | !test_src/mpi_hello.c 3 | working_dir 4 | hosts/* 5 | # Don't ignore the example hosts file. 6 | !hosts/__example_hosts_file.yaml 7 | -------------------------------------------------------------------------------- /examples/pre-packaged/activate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | export PAV_CONFIG_DIR="$(dirname "$(realpath "${BASH_SOURCE[0]}")")" 4 | PAV_DIR="$(dirname "$(dirname "${PAV_CONFIG_DIR}")")" 5 | 6 | export PATH=$PATH:$PAV_DIR/bin 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/tutorials/.gitignore: -------------------------------------------------------------------------------- 1 | working_dir 2 | -------------------------------------------------------------------------------- /examples/tutorials/activate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | export PAV_CONFIG_DIR="$(dirname "$(realpath "${BASH_SOURCE[0]}")")" 4 | PAV_DIR="$(dirname "$(dirname "${PAV_CONFIG_DIR}")")" 5 | 6 | export PATH=$PATH:$PAV_DIR/bin 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/tutorials/pavilion.yaml: -------------------------------------------------------------------------------- 1 | working_dir: working_dir 2 | -------------------------------------------------------------------------------- /examples/tutorials/test_src/.gitignore: -------------------------------------------------------------------------------- 1 | *.hash 2 | -------------------------------------------------------------------------------- /lib/certifi: -------------------------------------------------------------------------------- 1 | sub_repos/python-certifi/certifi/ -------------------------------------------------------------------------------- /lib/chardet: -------------------------------------------------------------------------------- 1 | sub_repos/chardet/chardet/ -------------------------------------------------------------------------------- /lib/hostlist.py: -------------------------------------------------------------------------------- 1 | sub_repos/python-hostlist/hostlist.py -------------------------------------------------------------------------------- /lib/idna: -------------------------------------------------------------------------------- 1 | sub_repos/idna/idna/ -------------------------------------------------------------------------------- /lib/lark: -------------------------------------------------------------------------------- 1 | sub_repos/lark/lark -------------------------------------------------------------------------------- /lib/packaging/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/packaging/py.typed -------------------------------------------------------------------------------- /lib/pavilion/filters/errors.py: -------------------------------------------------------------------------------- 1 | class FilterParseError(Exception): 2 | ... 3 | -------------------------------------------------------------------------------- /lib/pavilion/resolver/__init__.py: -------------------------------------------------------------------------------- 1 | from .resolver import TestConfigResolver 2 | from .proto_test import RawProtoTest, ProtoTest 3 | from .request import TestRequest 4 | -------------------------------------------------------------------------------- /lib/pavilion/schedulers/plugins/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/pavilion/schedulers/plugins/__init__.py -------------------------------------------------------------------------------- /lib/pavilion/test_config/__init__.py: -------------------------------------------------------------------------------- 1 | from . import file_format 2 | from .file_format import TestConfigLoader, TestSuiteLoader 3 | from .utils import parse_timeout 4 | -------------------------------------------------------------------------------- /lib/pavilion/test_run/__init__.py: -------------------------------------------------------------------------------- 1 | """Contains test run object definition and helper functions.""" 2 | 3 | from .test_attrs import TestAttributes, test_run_attr_transform 4 | from .test_run import TestRun 5 | from .utils import get_latest_tests, load_tests, id_pair_from_path, mass_status_update 6 | -------------------------------------------------------------------------------- /lib/requests: -------------------------------------------------------------------------------- 1 | sub_repos/requests/requests/ -------------------------------------------------------------------------------- /lib/sub_repos/chardet/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include LICENSE 2 | include *.rst 3 | include requirements.txt 4 | include test.py 5 | recursive-include docs * 6 | recursive-include tests * 7 | global-exclude *.pyc 8 | global-exclude __pycache__ 9 | -------------------------------------------------------------------------------- /lib/sub_repos/chardet/chardet/cli/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /lib/sub_repos/chardet/chardet/metadata/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/chardet/chardet/metadata/__init__.py -------------------------------------------------------------------------------- /lib/sub_repos/chardet/setup.cfg: -------------------------------------------------------------------------------- 1 | [bdist_wheel] 2 | universal = 1 3 | 4 | [tool:pytest] 5 | addopts = -v 6 | python_files = test.py 7 | norecursedirs = * 8 | -------------------------------------------------------------------------------- /lib/sub_repos/idna/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include *.rst 2 | include LICENSE.md 3 | include idna/py.typed 4 | recursive-include tools * 5 | recursive-exclude tools *.pyc 6 | recursive-include tests * 7 | recursive-exclude tests *.pyc 8 | 9 | -------------------------------------------------------------------------------- /lib/sub_repos/idna/idna/package_data.py: -------------------------------------------------------------------------------- 1 | __version__ = '3.3' 2 | 3 | -------------------------------------------------------------------------------- /lib/sub_repos/idna/idna/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/idna/idna/py.typed -------------------------------------------------------------------------------- /lib/sub_repos/idna/tools/intranges.py: -------------------------------------------------------------------------------- 1 | ../idna/intranges.py -------------------------------------------------------------------------------- /lib/sub_repos/lark/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include README.md LICENSE docs/* examples/*.py examples/*.png examples/*.lark tests/*.py tests/*.lark tests/grammars/* tests/test_nearley/*.py tests/test_nearley/grammars/* 2 | -------------------------------------------------------------------------------- /lib/sub_repos/lark/lark/__pyinstaller/__init__.py: -------------------------------------------------------------------------------- 1 | # For usage of lark with PyInstaller. See https://pyinstaller-sample-hook.readthedocs.io/en/latest/index.html 2 | 3 | import os 4 | 5 | def get_hook_dirs(): 6 | return [os.path.dirname(__file__)] -------------------------------------------------------------------------------- /lib/sub_repos/lark/lark/grammars/unicode.lark: -------------------------------------------------------------------------------- 1 | // TODO: LETTER, WORD, etc. 2 | 3 | // 4 | // Whitespace 5 | // 6 | WS_INLINE: /[ \t\xa0]/+ 7 | WS: /[ \t\xa0\f\r\n]/+ 8 | -------------------------------------------------------------------------------- /lib/sub_repos/lark/lark/parsers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/lark/lark/parsers/__init__.py -------------------------------------------------------------------------------- /lib/sub_repos/lark/lark/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/lark/lark/py.typed -------------------------------------------------------------------------------- /lib/sub_repos/lark/readthedocs.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | 3 | formats: all 4 | 5 | python: 6 | version: 3.7 7 | install: 8 | - requirements: docs/requirements.txt 9 | 10 | # Build documentation in the docs/ directory with Sphinx 11 | sphinx: 12 | configuration: docs/conf.py 13 | -------------------------------------------------------------------------------- /lib/sub_repos/lark/setup.cfg: -------------------------------------------------------------------------------- 1 | [global] 2 | zip_safe= 3 | 4 | [bdist_wheel] 5 | universal = 1 6 | 7 | [metadata] 8 | license_file = LICENSE 9 | -------------------------------------------------------------------------------- /lib/sub_repos/lark/test-requirements.txt: -------------------------------------------------------------------------------- 1 | Js2Py==0.68 2 | regex -------------------------------------------------------------------------------- /lib/sub_repos/python-certifi/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include MANIFEST.in README.rst LICENSE certifi/cacert.pem 2 | 3 | exclude .github/ 4 | recursive-exclude .github -------------------------------------------------------------------------------- /lib/sub_repos/python-certifi/Makefile: -------------------------------------------------------------------------------- 1 | update: 2 | curl https://mkcert.org/generate/ | ./strip-non-ascii > certifi/cacert.pem 3 | 4 | publish: 5 | python setup.py sdist bdist_wheel 6 | twine upload --skip-existing --sign dist/* 7 | -------------------------------------------------------------------------------- /lib/sub_repos/python-certifi/certifi/__init__.py: -------------------------------------------------------------------------------- 1 | from .core import contents, where 2 | 3 | __version__ = "2021.10.08" 4 | -------------------------------------------------------------------------------- /lib/sub_repos/python-certifi/certifi/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/python-certifi/certifi/tests/__init__.py -------------------------------------------------------------------------------- /lib/sub_repos/python-certifi/setup.cfg: -------------------------------------------------------------------------------- 1 | [bdist_wheel] 2 | universal = 1 3 | 4 | [metadata] 5 | license_file = LICENSE 6 | -------------------------------------------------------------------------------- /lib/sub_repos/python-hostlist/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include COPYING 2 | include README 3 | include CHANGES 4 | include python-hostlist.spec 5 | include hostlist.1 6 | include hostgrep.1 7 | include pshbak.1 8 | include dbuck.1 9 | include MANIFEST.in 10 | -------------------------------------------------------------------------------- /lib/sub_repos/requests/.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | omit = requests/packages/* -------------------------------------------------------------------------------- /lib/sub_repos/requests/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include README.md LICENSE NOTICE HISTORY.md pytest.ini requirements-dev.txt 2 | recursive-include tests *.py 3 | -------------------------------------------------------------------------------- /lib/sub_repos/requests/NOTICE: -------------------------------------------------------------------------------- 1 | Requests 2 | Copyright 2019 Kenneth Reitz 3 | -------------------------------------------------------------------------------- /lib/sub_repos/requests/ext/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2019 Kenneth Reitz. All rights reserved. 2 | -------------------------------------------------------------------------------- /lib/sub_repos/requests/ext/flower-of-life.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/requests/ext/flower-of-life.jpg -------------------------------------------------------------------------------- /lib/sub_repos/requests/ext/kr-compressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/requests/ext/kr-compressed.png -------------------------------------------------------------------------------- /lib/sub_repos/requests/ext/kr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/requests/ext/kr.png -------------------------------------------------------------------------------- /lib/sub_repos/requests/ext/psf-compressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/requests/ext/psf-compressed.png -------------------------------------------------------------------------------- /lib/sub_repos/requests/ext/psf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/requests/ext/psf.png -------------------------------------------------------------------------------- /lib/sub_repos/requests/ext/requests-logo-compressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/requests/ext/requests-logo-compressed.png -------------------------------------------------------------------------------- /lib/sub_repos/requests/ext/requests-logo.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/requests/ext/requests-logo.ai -------------------------------------------------------------------------------- /lib/sub_repos/requests/ext/requests-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/requests/ext/requests-logo.png -------------------------------------------------------------------------------- /lib/sub_repos/requests/ext/ss-compressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/requests/ext/ss-compressed.png -------------------------------------------------------------------------------- /lib/sub_repos/requests/ext/ss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/requests/ext/ss.png -------------------------------------------------------------------------------- /lib/sub_repos/requests/pytest.ini: -------------------------------------------------------------------------------- 1 | [pytest] 2 | addopts = -p no:warnings --doctest-modules 3 | doctest_optionflags= NORMALIZE_WHITESPACE ELLIPSIS -------------------------------------------------------------------------------- /lib/sub_repos/requests/requirements-dev.txt: -------------------------------------------------------------------------------- 1 | pytest>=2.8.0,<=6.2.5 2 | pytest-cov 3 | pytest-httpbin==1.0.0 4 | pytest-mock==2.0.0 5 | httpbin==0.7.0 6 | Flask>=1.0,<2.0 7 | trustme 8 | wheel 9 | -------------------------------------------------------------------------------- /lib/sub_repos/requests/setup.cfg: -------------------------------------------------------------------------------- 1 | [bdist_wheel] 2 | universal = 1 3 | 4 | [metadata] 5 | license_file = LICENSE 6 | -------------------------------------------------------------------------------- /lib/sub_repos/urllib3/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include README.rst CHANGES.rst LICENSE.txt dev-requirements.txt Makefile 2 | recursive-include dummyserver * 3 | recursive-include test * 4 | recursive-include docs * 5 | recursive-exclude docs/_build * 6 | -------------------------------------------------------------------------------- /lib/sub_repos/urllib3/ci/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -exo pipefail 4 | 5 | python3 -m pip install --upgrade twine wheel 6 | python3 setup.py sdist bdist_wheel 7 | python3 -m twine upload dist/* -u $PYPI_USERNAME -p $PYPI_PASSWORD --skip-existing 8 | -------------------------------------------------------------------------------- /lib/sub_repos/urllib3/codecov.yml: -------------------------------------------------------------------------------- 1 | coverage: 2 | status: 3 | patch: 4 | default: 5 | target: '100' 6 | project: 7 | default: 8 | target: '100' 9 | -------------------------------------------------------------------------------- /lib/sub_repos/urllib3/dummyserver/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/urllib3/dummyserver/__init__.py -------------------------------------------------------------------------------- /lib/sub_repos/urllib3/src/urllib3/_version.py: -------------------------------------------------------------------------------- 1 | # This file is protected via CODEOWNERS 2 | __version__ = "1.26.7" 3 | -------------------------------------------------------------------------------- /lib/sub_repos/urllib3/src/urllib3/contrib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/urllib3/src/urllib3/contrib/__init__.py -------------------------------------------------------------------------------- /lib/sub_repos/urllib3/src/urllib3/contrib/_securetransport/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/urllib3/src/urllib3/contrib/_securetransport/__init__.py -------------------------------------------------------------------------------- /lib/sub_repos/urllib3/src/urllib3/packages/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | from . import ssl_match_hostname 4 | 5 | __all__ = ("ssl_match_hostname",) 6 | -------------------------------------------------------------------------------- /lib/sub_repos/urllib3/src/urllib3/packages/backports/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/lib/sub_repos/urllib3/src/urllib3/packages/backports/__init__.py -------------------------------------------------------------------------------- /lib/urllib3: -------------------------------------------------------------------------------- 1 | sub_repos/urllib3/src/urllib3/ -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | # All dependencies are now included directly in the lib/ directory 2 | -------------------------------------------------------------------------------- /test/.coverage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/.coverage -------------------------------------------------------------------------------- /test/data/bad_plugins/config.yaml: -------------------------------------------------------------------------------- 1 | label: bad_plugins 2 | -------------------------------------------------------------------------------- /test/data/bad_plugins/plugins/bad_activate.yapsy_plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Bad Activation 3 | Module = bad_activate 4 | 5 | [Documentation] 6 | Description = Has an error in activate 7 | -------------------------------------------------------------------------------- /test/data/bad_plugins/plugins/bad_init.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Bad Init 3 | Module = bad_init 4 | 5 | [Documentation] 6 | Description = Has an error in __init__ 7 | -------------------------------------------------------------------------------- /test/data/bad_plugins/plugins/bad_module.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Bad Module 3 | Module = bad_module 4 | 5 | [Documentation] 6 | Description = Has a syntax error in the module. 7 | -------------------------------------------------------------------------------- /test/data/bad_plugins/plugins/missing_module.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Missing Module 3 | Module = you_can_not_find_this 4 | 5 | [Documentation] 6 | Description = A plugin missing a module 7 | -------------------------------------------------------------------------------- /test/data/bad_plugins/plugins/no_plugin.py: -------------------------------------------------------------------------------- 1 | from yapsy import IPlugin 2 | 3 | #from pavilion import result_parsers 4 | 5 | 6 | # No plugin exists here! 7 | -------------------------------------------------------------------------------- /test/data/bad_plugins/plugins/no_plugin.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = No Plugin 3 | Module = no_plugin 4 | 5 | [Documentation] 6 | Description = No YapsyPlugin based class exists in the found module. 7 | -------------------------------------------------------------------------------- /test/data/configs-permissions/test_src/src.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/configs-permissions/test_src/src.tar.gz -------------------------------------------------------------------------------- /test/data/configs-permissions/test_src/src.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/configs-permissions/test_src/src.zip -------------------------------------------------------------------------------- /test/data/configs-permissions/test_src/src/binfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/configs-permissions/test_src/src/binfile -------------------------------------------------------------------------------- /test/data/configs-permissions/test_src/src/file: -------------------------------------------------------------------------------- 1 | raar! 2 | -------------------------------------------------------------------------------- /test/data/configs-permissions/test_src/src/subdir1/binfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/configs-permissions/test_src/src/subdir1/binfile -------------------------------------------------------------------------------- /test/data/configs-permissions/test_src/src/subdir1/file1: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /test/data/configs-permissions/test_src/src/subdir2/binfile2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/configs-permissions/test_src/src/subdir2/binfile2 -------------------------------------------------------------------------------- /test/data/configs-permissions/test_src/src/subdir2/file1: -------------------------------------------------------------------------------- 1 | world 2 | -------------------------------------------------------------------------------- /test/data/configs-rerun/config.yaml: -------------------------------------------------------------------------------- 1 | label: test 2 | working_dir: ../../working_dir 3 | -------------------------------------------------------------------------------- /test/data/configs-rerun/pavilion.yaml: -------------------------------------------------------------------------------- 1 | ../pav_config_dir/pavilion.yaml -------------------------------------------------------------------------------- /test/data/configs-spec_perms/config.yaml: -------------------------------------------------------------------------------- 1 | label: spec_perms 2 | -------------------------------------------------------------------------------- /test/data/configs-spec_perms/test_src/src.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/configs-spec_perms/test_src/src.zip -------------------------------------------------------------------------------- /test/data/conflicting_plugins/config.yaml: -------------------------------------------------------------------------------- 1 | label: test_conflicts 2 | -------------------------------------------------------------------------------- /test/data/conflicting_plugins/plugins/command/poof.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Poof 3 | Module = poof 4 | 5 | [Documentation] 6 | Description = Goes Poof! 7 | Author = Some Author 8 | Version = 1.0 9 | Website = -------------------------------------------------------------------------------- /test/data/create_files_results/cf1.txt: -------------------------------------------------------------------------------- 1 | Hello world 2 | over and out 3 | -------------------------------------------------------------------------------- /test/data/create_files_results/cf2.txt: -------------------------------------------------------------------------------- 1 | Hello worldover and out -------------------------------------------------------------------------------- /test/data/create_files_results/tmpl1.txt: -------------------------------------------------------------------------------- 1 | Hiya! 2 | Resolve this val1. 3 | 4 | No trailing newline.. -------------------------------------------------------------------------------- /test/data/legacy/795/RUN_COMPLETE: -------------------------------------------------------------------------------- 1 | {"complete": "2020-07-28T16:50:52.574548"} -------------------------------------------------------------------------------- /test/data/legacy/795/attributes: -------------------------------------------------------------------------------- 1 | {"build_only": false, "rebuild": false, "started": "2020-07-28 16:50:52.017103", "finished": "2020-07-28 16:50:52.035368"} -------------------------------------------------------------------------------- /test/data/legacy/795/build.log: -------------------------------------------------------------------------------- 1 | build/pav_build_log -------------------------------------------------------------------------------- /test/data/legacy/795/build/.built_by: -------------------------------------------------------------------------------- 1 | /yellow/usr/projects/hpctest/pav2/working_dir/builds/2de3953430e63026/.built_by -------------------------------------------------------------------------------- /test/data/legacy/795/build/pav_build_log: -------------------------------------------------------------------------------- 1 | ../../../builds/2de3953430e63026/pav_build_log -------------------------------------------------------------------------------- /test/data/legacy/795/build_dir/pav_build_log: -------------------------------------------------------------------------------- 1 | The original was empty, so I thought I'd add something. 2 | -------------------------------------------------------------------------------- /test/data/legacy/795/build_name: -------------------------------------------------------------------------------- 1 | 2de3953430e63026 -------------------------------------------------------------------------------- /test/data/legacy/795/build_origin: -------------------------------------------------------------------------------- 1 | ../../builds/2de3953430e63026 -------------------------------------------------------------------------------- /test/data/legacy/795/job_id: -------------------------------------------------------------------------------- 1 | myhost.place.org_21487 2 | -------------------------------------------------------------------------------- /test/data/legacy/795/kickoff.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/legacy/795/kickoff.log -------------------------------------------------------------------------------- /test/data/legacy/795/run.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/legacy/795/run.log -------------------------------------------------------------------------------- /test/data/modules/fake: -------------------------------------------------------------------------------- 1 | mod.tcl -------------------------------------------------------------------------------- /test/data/modules/test_mod1/1.0: -------------------------------------------------------------------------------- 1 | ../mod.tcl -------------------------------------------------------------------------------- /test/data/modules/test_mod1/1.10: -------------------------------------------------------------------------------- 1 | ../mod.tcl -------------------------------------------------------------------------------- /test/data/modules/test_mod2: -------------------------------------------------------------------------------- 1 | mod.tcl -------------------------------------------------------------------------------- /test/data/modules/test_mod3/4.0: -------------------------------------------------------------------------------- 1 | ../mod.tcl -------------------------------------------------------------------------------- /test/data/modules/test_mod3/5.0: -------------------------------------------------------------------------------- 1 | ../mod.tcl -------------------------------------------------------------------------------- /test/data/pav_config_dir/.gitignore: -------------------------------------------------------------------------------- 1 | pavilion.yaml 2 | pavilion.yaml.proxy 3 | modes/local_slurm.yaml 4 | outside.hash 5 | test_src/README.* 6 | test_src/*.hash 7 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/collections/testlist.txt: -------------------------------------------------------------------------------- 1 | hello_world.hello 2 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/config.yaml: -------------------------------------------------------------------------------- 1 | label: test 2 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/hosts/defaulted.yaml: -------------------------------------------------------------------------------- 1 | variables: 2 | mode_def?: host 3 | host_def?: host 4 | test_def?: host 5 | 6 | def_host?: host 7 | def_test: host 8 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/hosts/extended.yaml: -------------------------------------------------------------------------------- 1 | variables: 2 | long_base+: ['checking', 'for'] 3 | single_base+: 'host' -------------------------------------------------------------------------------- /test/data/pav_config_dir/hosts/layer_host.yaml: -------------------------------------------------------------------------------- 1 | summary: host 2 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/hosts/this.yaml: -------------------------------------------------------------------------------- 1 | # This doesn't need contents. 2 | 3 | variables: 4 | hosty: "this" 5 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/modes/ala.yaml: -------------------------------------------------------------------------------- 1 | # Empty... -------------------------------------------------------------------------------- /test/data/pav_config_dir/modes/defaulted.yaml: -------------------------------------------------------------------------------- 1 | variables: 2 | mode_def?: mode 3 | 4 | def_mode?: mode 5 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/modes/extended.yaml: -------------------------------------------------------------------------------- 1 | variables: 2 | long_base+: ['including', 'including', 'duplicates'] 3 | single_base+: 'mode' 4 | no_base_mode+: 'mode' 5 | null_base_mode+: 'mode' 6 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/modes/layer_mode.yaml: -------------------------------------------------------------------------------- 1 | summary: mode 2 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/modes/smode1.yaml: -------------------------------------------------------------------------------- 1 | variables: 2 | asdf: 'asdf1' 3 | letters: 'cup' 4 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/modes/smode2.yaml: -------------------------------------------------------------------------------- 1 | variables: 2 | another_num: 13 3 | num1: 11 4 | num2: 98 5 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/outside.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/outside.zip -------------------------------------------------------------------------------- /test/data/pav_config_dir/pavilion.yaml.ci: -------------------------------------------------------------------------------- 1 | default_results: 2 | def_results_test: '{{pav.user}}' 3 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/pavilion.yaml.example: -------------------------------------------------------------------------------- 1 | proxies: 2 | http: "http://proxyout.example.com:8080" 3 | https: "http://proxyout.example.com:8080" 4 | ftp: "http://proxyout.example.com:8080" 5 | 6 | no_proxy: 7 | - example.com 8 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/platforms/defaulted.yaml: -------------------------------------------------------------------------------- 1 | variables: 2 | platform_def?: platform 3 | mode_def?: platform 4 | host_def?: platform 5 | test_def?: platform 6 | 7 | def_platform?: platform 8 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/platforms/extended.yaml: -------------------------------------------------------------------------------- 1 | variables: 2 | long_base: ['please', 'start'] 3 | single_base: 'platform' 4 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/platforms/layer_platform.yaml: -------------------------------------------------------------------------------- 1 | summary: platform 2 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/platforms/that.yaml: -------------------------------------------------------------------------------- 1 | variables: 2 | sys_osy: 'that' -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/command/bop.py: -------------------------------------------------------------------------------- 1 | import sys 2 | from pavilion import commands 3 | 4 | 5 | class Bop(commands.Command): 6 | def __init__(self): 7 | 8 | super().__init__('bop', 'Goes bop!') 9 | 10 | def run(self, pav_cfg, args): 11 | pass 12 | 13 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/command/bop.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Bop 3 | Module = bop 4 | 5 | [Documentation] 6 | Description = Goes Bop! 7 | Author = Some Author 8 | Version = 1.0 9 | Website = 10 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/command/poof.py: -------------------------------------------------------------------------------- 1 | import sys 2 | from pavilion import commands 3 | 4 | 5 | class Poof(commands.Command): 6 | def __init__(self): 7 | 8 | super().__init__('poof', 'Goes POOF!') 9 | 10 | def run(self, pav_cfg, args): 11 | pass 12 | 13 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/command/poof.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Poof 3 | Module = poof 4 | 5 | [Documentation] 6 | Description = Goes Poof! 7 | Author = Some Author 8 | Version = 1.0 9 | Website = -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/module/bar.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Bar 3 | Module = bar 4 | 5 | [Documentation] 6 | Description = Wraps Bar 7 | Author = Some Author 8 | Version = 1.0 9 | Website = 10 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/module/bar_generic.py: -------------------------------------------------------------------------------- 1 | from pavilion import module_wrapper 2 | 3 | 4 | class BarGenericWrapper(module_wrapper.ModuleWrapper): 5 | 6 | def __init__(self): 7 | super().__init__('bar', "") 8 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/module/bar_generic.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Bar-Generic 3 | Module = bar_generic 4 | 5 | [Documentation] 6 | Description = Wraps Bar 7 | Author = Some Author 8 | Version = 1.0 9 | Website = 10 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/module/foo.py: -------------------------------------------------------------------------------- 1 | from pavilion import module_wrapper 2 | 3 | 4 | class FooWrapper(module_wrapper.ModuleWrapper): 5 | 6 | def __init__(self): 7 | super().__init__('foo', "") 8 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/module/foo.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Foo 3 | Module = foo 4 | 5 | [Documentation] 6 | Description = Wraps Foo 7 | Author = Some Author 8 | Version = 1.0 9 | Website = 10 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/schedulers/dummy.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Dummy 3 | Module = dummy 4 | 5 | [Documentation] 6 | Description = A Dummy scheduler 7 | Author = Some Author 8 | Version = 1.0 9 | Website = 10 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/schedulers/error.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Error 3 | Module = error_sched 4 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/schedulers/not_available.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = NotAvailable 3 | Module = not_available 4 | 5 | [Documentation] 6 | Description = A Dummy scheduler that isn't available 7 | Author = Some Author 8 | Version = 1.0 9 | Website = 10 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/sys/dumb_list.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Dumb List Variable 3 | Module = dumb_list 4 | 5 | [Documentation] 6 | Description = A dumb system variable to mimic a username variable for unit tests. 7 | Author = Calvin 8 | Version = 1.0 9 | Website = -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/sys/dumb_os.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Dumb OS Variable 3 | Module = dumb_os 4 | 5 | [Documentation] 6 | Description = A dumb system variable to mimic a os variable for unit tests. 7 | Author = Calvin 8 | Version = 1.0 9 | Website = -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/sys/dumb_sys_var.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Dumb System Variable 3 | Module = dumb_sys_var 4 | 5 | [Documentation] 6 | Description = A dumb system variable to mimic a deferred variable for unit tests. 7 | Author = Calvin 8 | Version = 1.0 9 | Website = -------------------------------------------------------------------------------- /test/data/pav_config_dir/plugins/sys/dumb_user.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Dumb User Variable 3 | Module = dumb_user 4 | 5 | [Documentation] 6 | Description = A dumb system variable to mimic a username variable for unit tests. 7 | Author = Calvin 8 | Version = 1.0 9 | Website = -------------------------------------------------------------------------------- /test/data/pav_config_dir/series/basic.yaml: -------------------------------------------------------------------------------- 1 | test_sets: 2 | the_only: 3 | tests: 4 | - 'hello_world.hello' -------------------------------------------------------------------------------- /test/data/pav_config_dir/series/multi.yaml: -------------------------------------------------------------------------------- 1 | test_sets: 2 | the_first: 3 | tests: 4 | - 'hello_world.hello' 5 | - 'hello_world.hello' 6 | 7 | the_other: 8 | tests: 9 | - 'hello_world.hello*3' 10 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/series/order.yaml: -------------------------------------------------------------------------------- 1 | test_sets: 2 | zazzle: 3 | blargl: 4 | foo: 5 | snit: 6 | r2d2: 7 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/series/series_circle1.yaml: -------------------------------------------------------------------------------- 1 | test_sets: 2 | 3 | initial_tests: 4 | depends_on: ['next_tests'] 5 | 6 | next_tests: 7 | depends_on: ['initial_tests'] 8 | 9 | last_tests: 10 | 11 | ordered: True 12 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/series/sleepy.yaml: -------------------------------------------------------------------------------- 1 | test_sets: 2 | the_only: 3 | tests: 4 | - 'hello_world.hello' 5 | - 'sleepy.long' 6 | 7 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/bare_yaml.yaml: -------------------------------------------------------------------------------- 1 | bare_yaml: 2 | scheduler: raw 3 | run: 4 | cmds: 'echo Hello!' 5 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/basic_suite_test/suite.yaml: -------------------------------------------------------------------------------- 1 | basic_suite_test: 2 | scheduler: raw 3 | run: 4 | cmds: 'echo Hello!' 5 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/cancel_test.yaml: -------------------------------------------------------------------------------- 1 | test1: 2 | 3 | run: 4 | cmds: 5 | - sleep 1m 6 | 7 | test2: 8 | 9 | run: 10 | cmds: 11 | - sleep 1m 12 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/circular_symlinks/bar: -------------------------------------------------------------------------------- 1 | foo -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/circular_symlinks/foo: -------------------------------------------------------------------------------- 1 | bar -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/circular_symlinks/suite.yaml: -------------------------------------------------------------------------------- 1 | circular_symlink: 2 | summary: Build for which the directory contains circular symlinks. 3 | scheduler: raw 4 | build: 5 | source_path: "." 6 | run: 7 | cmds: "echo hello" 8 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/defaulted_error.yaml: -------------------------------------------------------------------------------- 1 | error: 2 | variables: 3 | no_def?: 4 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/extended.yaml: -------------------------------------------------------------------------------- 1 | test: 2 | variables: 3 | long_base+: ['proper', 'extending', 'including'] 4 | single_base+: 'test' 5 | no_base+: 'test' 6 | null_base+: 'test' 7 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/hash_suite_test.yaml: -------------------------------------------------------------------------------- 1 | hash_suite_test: 2 | scheduler: raw 3 | run: 4 | cmds: 'echo Hello!' 5 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/hash_suite_test_a/fox.txt: -------------------------------------------------------------------------------- 1 | The quick brown fox jumped over the lazy dog 2 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/hash_suite_test_a/hosts.yaml: -------------------------------------------------------------------------------- 1 | hash_host: 2 | variables: 3 | foo: True 4 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/hash_suite_test_a/modes.yaml: -------------------------------------------------------------------------------- 1 | hash_mode: 2 | variables: 3 | foo: True 4 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/hash_suite_test_a/os.yaml: -------------------------------------------------------------------------------- 1 | hash_os: 2 | variables: 3 | foo: True 4 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/hash_suite_test_a/suite.yaml: -------------------------------------------------------------------------------- 1 | hash_suite_test: 2 | scheduler: raw 3 | run: 4 | cmds: 'echo Hello!' 5 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/hash_suite_test_b/fox.txt: -------------------------------------------------------------------------------- 1 | The quick brown fox jumped over the lazy dog 2 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/hash_suite_test_b/suite.yaml: -------------------------------------------------------------------------------- 1 | hash_suite_test: 2 | scheduler: raw 3 | run: 4 | cmds: 'echo Hello!' 5 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/hosts_suite_test/hosts.yaml: -------------------------------------------------------------------------------- 1 | host1: 2 | variables: 3 | host1: True 4 | 5 | host2: 6 | variables: 7 | host2: True 8 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/hosts_suite_test/suite.yaml: -------------------------------------------------------------------------------- 1 | hosts_suite_test: 2 | scheduler: raw 3 | run: 4 | cmds: 'echo Hello!' 5 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/invalid.yaml: -------------------------------------------------------------------------------- 1 | # Several invalid test configs 2 | 3 | invalid_yaml: 4 | foo: 5 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/invalid_results.yaml: -------------------------------------------------------------------------------- 1 | bad_results: 2 | result_parse: 3 | regex: 4 | foo: 5 | regex: '[nope' 6 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/invalid_yaml.yaml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | foo: 12 | bar: ] 13 | baz: 14 | 15 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/layer_tests.yaml: -------------------------------------------------------------------------------- 1 | layer_test: {} 2 | 3 | layer_test_part: 4 | summary: test 5 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/missing_key_above.yaml: -------------------------------------------------------------------------------- 1 | # This should throw an error for a missing key with suggestions at a higher level. 2 | 3 | higher: 4 | schedule: 5 | result_parse: 6 | regex: 7 | foo: 8 | regex: bar 9 | 10 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/missing_key_below.yaml: -------------------------------------------------------------------------------- 1 | # Should throw an error for a missing key, but with suggestions at a lower level. 2 | 3 | lower: 4 | chunking: 5 | size: 10 6 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/missing_key_collect.yaml: -------------------------------------------------------------------------------- 1 | # Make sure we give the user useful info 2 | # when a collection key is misplaced. 3 | 4 | collect: 5 | result_parse: 6 | foo: 7 | regex: '1234' 8 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/missing_key_same.yaml: -------------------------------------------------------------------------------- 1 | # This should throw an error for a missing/misspelled key at the same tab level 2 | 3 | same: 4 | scheduule: 5 | nodes: 72 6 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/modes_suite_test/modes.yaml: -------------------------------------------------------------------------------- 1 | mode1: 2 | variables: 3 | mode1: True 4 | 5 | mode2: 6 | variables: 7 | mode2: True 8 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/modes_suite_test/suite.yaml: -------------------------------------------------------------------------------- 1 | modes_suite_test: 2 | scheduler: raw 3 | run: 4 | cmds: 'echo Hello!' 5 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/not_available.yaml: -------------------------------------------------------------------------------- 1 | nope: 2 | scheduler: not_available -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/pass_fail.yaml: -------------------------------------------------------------------------------- 1 | # A test that just passes 2 | pass: 3 | run: 4 | cmds: 5 | - "echo pass" 6 | - "true" 7 | 8 | fail: 9 | run: 10 | cmds: 11 | - "echo pass" 12 | - "false" 13 | 14 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/permute_on.yaml: -------------------------------------------------------------------------------- 1 | test: 2 | permute_on: ['foo', 'bar'] 3 | 4 | variables: 5 | foo: 6 | - 'a' 7 | - 'b' 8 | bar: 9 | - {a: 1, b: 2} 10 | - {a: 3, b: 4} 11 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/platforms_suite_test/platforms.yaml: -------------------------------------------------------------------------------- 1 | platform1: 2 | variables: 3 | platform1: True 4 | 5 | platform2: 6 | variables: 7 | platform2: True 8 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/platforms_suite_test/suite.yaml: -------------------------------------------------------------------------------- 1 | platforms_suite_test: 2 | scheduler: raw 3 | run: 4 | cmds: 'echo Hello!' 5 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/required_vars.yaml: -------------------------------------------------------------------------------- 1 | req_base_var: 2 | variables: 3 | foo?: 4 | 5 | req_sub_var: 6 | variables: 7 | bar?: 8 | var1: 9 | var2: "42" 10 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/suite_with_source/hello.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | printf("Hello, World!\n"); 5 | 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/suite_with_source/suite.yaml: -------------------------------------------------------------------------------- 1 | suite_with_source: 2 | scheduler: raw 3 | build: 4 | cmds: "gcc -o hello hello.c" 5 | run: 6 | cmds: "{{sched.test_cmd}} ./hello" 7 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/var_consistency2.yaml: -------------------------------------------------------------------------------- 1 | # This has to live in it's own file because it breaks the whole suite 2 | inconsistent_var1: 3 | variables: 4 | foo: 5 | - 'a' 6 | - {'a': 'b'} 7 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/var_consistency3.yaml: -------------------------------------------------------------------------------- 1 | # Has to live in its own file because it breaks the whole suite 2 | inconsistent_var2: 3 | variables: 4 | foo: 5 | - 'a' 6 | - {'a': 'b'} 7 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/varied_time.py: -------------------------------------------------------------------------------- 1 | varied_time: 2 | 3 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/varied_time.yaml: -------------------------------------------------------------------------------- 1 | varied_time: 2 | permute_on: test_time 3 | variables: 4 | test_time: [0, 0.5, 1] 5 | 6 | run: 7 | cmds: 8 | - echo "hello" 9 | - 'sleep {{test_time}}' 10 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/version_incompatible.yaml: -------------------------------------------------------------------------------- 1 | one: 2 | test_version: 1.4 3 | compatible_pav_versions: 1.2.4-1.2.8 4 | run: 5 | cmds: 6 | - 'echo hello' 7 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/suites/wildstuff.yaml: -------------------------------------------------------------------------------- 1 | norun: 2 | run: 3 | cmds: 4 | - 'echo hello' 5 | 6 | by_test_name: 7 | run: 8 | cmds: 9 | - 'echo hello' 10 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/binfile.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/binfile.bz2 -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/binfile.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/binfile.gz -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/binfile.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/binfile.xz -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/file_tests.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/file_tests.tgz -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/foo/bar/deep.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/foo/bar/deep.zip -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/hello.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | printf("Hello, World!\n"); 5 | 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/invalid_file.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/invalid_file.tar.gz -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/no_encaps.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/no_encaps.tgz -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/no_encaps.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/no_encaps.zip -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/softlink.zip: -------------------------------------------------------------------------------- 1 | src.zip -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/src.extensions_dont_matter: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/src.extensions_dont_matter -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/src.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/src.tar -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/src.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/src.tar.gz -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/src.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/src.xz -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/src.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/src.zip -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/src/binfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/src/binfile -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/src/file: -------------------------------------------------------------------------------- 1 | raar! 2 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/src/subdir1/binfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/src/subdir1/binfile -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/src/subdir1/file1: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/src/subdir2/binfile2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/data/pav_config_dir/test_src/src/subdir2/binfile2 -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/src/subdir2/file1: -------------------------------------------------------------------------------- 1 | world 2 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/tmpl_bad1.pav: -------------------------------------------------------------------------------- 1 | nowhere -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/tmpl_bad2.pav: -------------------------------------------------------------------------------- 1 | This has variables that shouldn't exist. 2 | 3 | {{do_not_exist}} 4 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/tmpl_bad3.pav: -------------------------------------------------------------------------------- 1 | This has invalid syntax 2 | 3 | {{ oh_no 4 | 5 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/tmpl_bad4.pav: -------------------------------------------------------------------------------- 1 | This has bad expression syntax 2 | 3 | {{ 3 + }} 4 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/tmpl_bad5.pav: -------------------------------------------------------------------------------- 1 | This has bad expression resolution. 2 | 3 | {{ 3/0 }} 4 | -------------------------------------------------------------------------------- /test/data/pav_config_dir/test_src/tmpl_test.pav: -------------------------------------------------------------------------------- 1 | Hiya! 2 | Resolve this {{var1}}. 3 | 4 | No trailing newline.. -------------------------------------------------------------------------------- /test/data/pav_config_dir/tests/old_style.yaml: -------------------------------------------------------------------------------- 1 | hello: 2 | scheduler: raw 3 | run: 4 | cmds: 5 | - echo "hello" 6 | -------------------------------------------------------------------------------- /test/data/resolve_template_bad_key.tmpl: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | echo "There are [sched.nope] nodes on this system." 4 | -------------------------------------------------------------------------------- /test/data/resolve_template_extra_escape.tmpl: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | echo "There are [sched.num_nodes] ]nodes on this system." 4 | -------------------------------------------------------------------------------- /test/data/resolve_template_good.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | echo "There are 3 nodes on this system." 4 | echo "This is in the test partition." 5 | echo "This host is called test.host.com." 6 | echo "Is this complicated? [yes/no]" 7 | -------------------------------------------------------------------------------- /test/data/resolve_template_keyerror.tmpl: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | echo "There are [sched.nope] nodes on this system." 4 | -------------------------------------------------------------------------------- /test/data/run_test_list: -------------------------------------------------------------------------------- 1 | # This is for the run command tests 'test_get_test' 2 | # Comments are supposed to be ignored 3 | hello_world.world 4 | 5 | # So are empty lines 6 | 7 | hello_world.narf 8 | -------------------------------------------------------------------------------- /test/data/secondary_plugins/config.yaml: -------------------------------------------------------------------------------- 1 | label: test2 2 | -------------------------------------------------------------------------------- /test/data/secondary_plugins/plugins/command/blarg.py: -------------------------------------------------------------------------------- 1 | from pavilion import commands 2 | 3 | 4 | class Blarg(commands.Command): 5 | def __init__(self): 6 | 7 | super().__init__('blarg', 'Goes Blarg!') 8 | 9 | def run(self, pav_cfg, args): 10 | pass 11 | -------------------------------------------------------------------------------- /test/data/secondary_plugins/plugins/command/blarg.yapsy-plugin: -------------------------------------------------------------------------------- 1 | [Core] 2 | Name = Blarg 3 | Module = blarg 4 | 5 | [Documentation] 6 | Description = Goes Blarg! 7 | Author = Some Author 8 | Version = 1.0 9 | Website = 10 | -------------------------------------------------------------------------------- /test/requirements.txt: -------------------------------------------------------------------------------- 1 | pylint==2.13.9 2 | matplotlib > 3 3 | -------------------------------------------------------------------------------- /test/tests/yaml_config_tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yaml_config_tests/__init__.py -------------------------------------------------------------------------------- /test/tests/yaml_config_tests/data/nulls.yaml: -------------------------------------------------------------------------------- 1 | pet: "dog" 2 | potential_names: 3 | properties: 4 | traits: 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/LICENSE: -------------------------------------------------------------------------------- 1 | ../../../lib/yc_yaml/LICENSE -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/README.md: -------------------------------------------------------------------------------- 1 | These tests use a different format than the standard pavilion tests. They're run via 2 | 'yaml\_tests.py'. 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/__init__.py -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/a-nasty-libyaml-bug.loader-error: -------------------------------------------------------------------------------- 1 | [ [ -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/aliases-cdumper-bug.code: -------------------------------------------------------------------------------- 1 | [ today, today ] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/aliases.events: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !DocumentStart 3 | - !SequenceStart 4 | - !Scalar { anchor: 'myanchor', tag: '!mytag', value: 'data' } 5 | - !Alias { anchor: 'myanchor' } 6 | - !SequenceEnd 7 | - !DocumentEnd 8 | - !StreamEnd 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/bool.data: -------------------------------------------------------------------------------- 1 | - yes 2 | - NO 3 | - True 4 | - on 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/bool.detect: -------------------------------------------------------------------------------- 1 | tag:yaml.org,2002:bool 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-bool.code: -------------------------------------------------------------------------------- 1 | { 2 | "canonical": True, 3 | "answer": False, 4 | "logical": True, 5 | "option": True, 6 | "but": { "y": "is a string", "n": "is a string" }, 7 | } 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-bool.data: -------------------------------------------------------------------------------- 1 | canonical: yes 2 | answer: NO 3 | logical: True 4 | option: on 5 | 6 | 7 | but: 8 | y: is a string 9 | n: is a string 10 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-float.code: -------------------------------------------------------------------------------- 1 | { 2 | "canonical": 685230.15, 3 | "exponential": 685230.15, 4 | "fixed": 685230.15, 5 | "sexagesimal": 685230.15, 6 | "negative infinity": -1e300000, 7 | "not a number": 1e300000/1e300000, 8 | } 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-float.data: -------------------------------------------------------------------------------- 1 | canonical: 6.8523015e+5 2 | exponential: 685.230_15e+03 3 | fixed: 685_230.15 4 | sexagesimal: 190:20:30.15 5 | negative infinity: -.inf 6 | not a number: .NaN 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-int.code: -------------------------------------------------------------------------------- 1 | { 2 | "canonical": 685230, 3 | "decimal": 685230, 4 | "octal": 685230, 5 | "hexadecimal": 685230, 6 | "binary": 685230, 7 | "sexagesimal": 685230, 8 | } 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-int.data: -------------------------------------------------------------------------------- 1 | canonical: 685230 2 | decimal: +685_230 3 | octal: 02472256 4 | hexadecimal: 0x_0A_74_AE 5 | binary: 0b1010_0111_0100_1010_1110 6 | sexagesimal: 190:20:30 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-map.code: -------------------------------------------------------------------------------- 1 | { 2 | "Block style": 3 | { "Clark" : "Evans", "Brian" : "Ingerson", "Oren" : "Ben-Kiki" }, 4 | "Flow style": 5 | { "Clark" : "Evans", "Brian" : "Ingerson", "Oren" : "Ben-Kiki" }, 6 | } 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-map.data: -------------------------------------------------------------------------------- 1 | # Unordered set of key: value pairs. 2 | Block style: !!map 3 | Clark : Evans 4 | Brian : Ingerson 5 | Oren : Ben-Kiki 6 | Flow style: !!map { Clark: Evans, Brian: Ingerson, Oren: Ben-Kiki } 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-pairs.data: -------------------------------------------------------------------------------- 1 | # Explicitly typed pairs. 2 | Block tasks: !!pairs 3 | - meeting: with team. 4 | - meeting: with boss. 5 | - break: lunch. 6 | - meeting: with client. 7 | Flow tasks: !!pairs [ meeting: with team, meeting: with boss ] 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-bool.code: -------------------------------------------------------------------------------- 1 | [ True, False ] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-bool.data: -------------------------------------------------------------------------------- 1 | [ !!python/bool True, !!python/bool False ] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-bytes-py3.code: -------------------------------------------------------------------------------- 1 | b'some binary data' 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-bytes-py3.data: -------------------------------------------------------------------------------- 1 | --- !!python/bytes 'c29tZSBiaW5hcnkgZGF0YQ==' 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-complex.code: -------------------------------------------------------------------------------- 1 | [0.5+0j, 0.5+0.5j, 0.5j, -0.5+0.5j, -0.5+0j, -0.5-0.5j, -0.5j, 0.5-0.5j] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-float.code: -------------------------------------------------------------------------------- 1 | 123.456 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-float.data: -------------------------------------------------------------------------------- 1 | !!python/float 123.456 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-int.code: -------------------------------------------------------------------------------- 1 | 123 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-int.data: -------------------------------------------------------------------------------- 1 | !!python/int 123 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-long-short-py2.code: -------------------------------------------------------------------------------- 1 | 123L 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-long-short-py2.data: -------------------------------------------------------------------------------- 1 | !!python/long 123 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-long-short-py3.code: -------------------------------------------------------------------------------- 1 | 123 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-long-short-py3.data: -------------------------------------------------------------------------------- 1 | !!python/long 123 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-name-module.code: -------------------------------------------------------------------------------- 1 | [str, yaml.Loader, yaml.dump, abs, yaml.tokens] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-name-module.data: -------------------------------------------------------------------------------- 1 | - !!python/name:str 2 | - !!python/name:yaml.Loader 3 | - !!python/name:yaml.dump 4 | - !!python/name:abs 5 | - !!python/module:yaml.tokens 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-none.code: -------------------------------------------------------------------------------- 1 | None 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-none.data: -------------------------------------------------------------------------------- 1 | !!python/none 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-str-ascii.code: -------------------------------------------------------------------------------- 1 | "ascii string" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-str-ascii.data: -------------------------------------------------------------------------------- 1 | --- !!python/str "ascii string" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-str-utf8-py2.code: -------------------------------------------------------------------------------- 1 | u'\u042d\u0442\u043e \u0443\u043d\u0438\u043a\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430'.encode('utf-8') 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-str-utf8-py2.data: -------------------------------------------------------------------------------- 1 | --- !!python/str "Это уникодная строка" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-str-utf8-py3.code: -------------------------------------------------------------------------------- 1 | '\u042d\u0442\u043e \u0443\u043d\u0438\u043a\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430' 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-str-utf8-py3.data: -------------------------------------------------------------------------------- 1 | --- !!python/str "Это уникодная строка" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-tuple-list-dict.code: -------------------------------------------------------------------------------- 1 | [ 2 | [1, 2, 3, 4], 3 | (1, 2, 3, 4), 4 | {1: 2, 3: 4}, 5 | {(0,0): 0, (0,1): 1, (1,0): 1, (1,1): 0}, 6 | ] 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-unicode-ascii-py2.code: -------------------------------------------------------------------------------- 1 | u"ascii string" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-unicode-ascii-py2.data: -------------------------------------------------------------------------------- 1 | --- !!python/unicode "ascii string" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-unicode-ascii-py3.code: -------------------------------------------------------------------------------- 1 | "ascii string" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-unicode-ascii-py3.data: -------------------------------------------------------------------------------- 1 | --- !!python/unicode "ascii string" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-unicode-utf8-py2.code: -------------------------------------------------------------------------------- 1 | u'\u042d\u0442\u043e \u0443\u043d\u0438\u043a\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430' 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-unicode-utf8-py2.data: -------------------------------------------------------------------------------- 1 | --- !!python/unicode "Это уникодная строка" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-unicode-utf8-py3.code: -------------------------------------------------------------------------------- 1 | '\u042d\u0442\u043e \u0443\u043d\u0438\u043a\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430' 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-python-unicode-utf8-py3.data: -------------------------------------------------------------------------------- 1 | --- !!python/unicode "Это уникодная строка" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-seq.code: -------------------------------------------------------------------------------- 1 | { 2 | "Block style": ["Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune", "Pluto"], 3 | "Flow style": ["Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune", "Pluto"], 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-set.code: -------------------------------------------------------------------------------- 1 | { 2 | "baseball players": set(["Mark McGwire", "Sammy Sosa", "Ken Griffey"]), 3 | "baseball teams": set(["Boston Red Sox", "Detroit Tigers", "New York Yankees"]), 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-set.data: -------------------------------------------------------------------------------- 1 | # Explicitly typed set. 2 | baseball players: !!set 3 | ? Mark McGwire 4 | ? Sammy Sosa 5 | ? Ken Griffey 6 | # Flow style 7 | baseball teams: !!set { Boston Red Sox, Detroit Tigers, New York Yankees } 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-str-ascii.code: -------------------------------------------------------------------------------- 1 | "ascii string" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-str-ascii.data: -------------------------------------------------------------------------------- 1 | --- !!str "ascii string" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-str-utf8-py2.code: -------------------------------------------------------------------------------- 1 | u'\u042d\u0442\u043e \u0443\u043d\u0438\u043a\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430' 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-str-utf8-py2.data: -------------------------------------------------------------------------------- 1 | --- !!str "Это уникодная строка" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-str-utf8-py3.code: -------------------------------------------------------------------------------- 1 | '\u042d\u0442\u043e \u0443\u043d\u0438\u043a\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430' 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-str-utf8-py3.data: -------------------------------------------------------------------------------- 1 | --- !!str "Это уникодная строка" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-str.code: -------------------------------------------------------------------------------- 1 | { "string": "abcd" } 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-str.data: -------------------------------------------------------------------------------- 1 | string: abcd 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-timestamp.data: -------------------------------------------------------------------------------- 1 | canonical: 2001-12-15T02:59:43.1Z 2 | valid iso8601: 2001-12-14t21:59:43.10-05:00 3 | space separated: 2001-12-14 21:59:43.10 -5 4 | no time zone (Z): 2001-12-15 2:59:43.10 5 | date (00:00:00Z): 2002-12-14 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/construct-value.data: -------------------------------------------------------------------------------- 1 | --- # Old schema 2 | link with: 3 | - library1.dll 4 | - library2.dll 5 | --- # New schema 6 | link with: 7 | - = : library1.dll 8 | version: 1.2 9 | - = : library2.dll 10 | version: 2.3 11 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/document-separator-in-quoted-scalar.loader-error: -------------------------------------------------------------------------------- 1 | --- 2 | "this --- is correct" 3 | --- 4 | "this 5 | ...is also 6 | correct" 7 | --- 8 | "a quoted scalar 9 | cannot contain 10 | --- 11 | document separators" 12 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/duplicate-anchor-1.loader-error: -------------------------------------------------------------------------------- 1 | - &foo bar 2 | - &bar bar 3 | - &foo bar 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/duplicate-anchor-2.loader-error: -------------------------------------------------------------------------------- 1 | &foo [1, 2, 3, &foo 4] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/duplicate-key.former-loader-error.code: -------------------------------------------------------------------------------- 1 | { 'foo': 'baz' } 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/duplicate-key.former-loader-error.data: -------------------------------------------------------------------------------- 1 | --- 2 | foo: bar 3 | foo: baz 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/duplicate-mapping-key.former-loader-error.code: -------------------------------------------------------------------------------- 1 | { 'foo': { 'baz': 'bat', 'foo': 'duplicate key' } } 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/duplicate-mapping-key.former-loader-error.data: -------------------------------------------------------------------------------- 1 | --- 2 | &anchor foo: 3 | foo: bar 4 | *anchor: duplicate key 5 | baz: bat 6 | *anchor: duplicate key 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/duplicate-merge-key.former-loader-error.code: -------------------------------------------------------------------------------- 1 | { 'x': 1, 'y': 2, 'foo': 'bar', 'z': 3, 't': 4 } 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/duplicate-merge-key.former-loader-error.data: -------------------------------------------------------------------------------- 1 | --- 2 | <<: {x: 1, y: 2} 3 | foo: bar 4 | <<: {z: 3, t: 4} 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/duplicate-tag-directive.loader-error: -------------------------------------------------------------------------------- 1 | %TAG !foo! bar 2 | %TAG !foo! baz 3 | --- foo 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/duplicate-value-key.former-loader-error.code: -------------------------------------------------------------------------------- 1 | { 'foo': 'bar', '=': 2 } 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/duplicate-value-key.former-loader-error.data: -------------------------------------------------------------------------------- 1 | --- 2 | =: 1 3 | foo: bar 4 | =: 2 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/duplicate-yaml-directive.loader-error: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %YAML 1.1 3 | --- foo 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/emit-block-scalar-in-simple-key-context-bug.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- !!map 3 | { 4 | ? !!str "foo" 5 | : !!str "bar" 6 | } 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/emit-block-scalar-in-simple-key-context-bug.data: -------------------------------------------------------------------------------- 1 | ? |- 2 | foo 3 | : |- 4 | bar 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/emitting-unacceptable-unicode-character-bug-py2.code: -------------------------------------------------------------------------------- 1 | u"\udd00" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/emitting-unacceptable-unicode-character-bug-py2.data: -------------------------------------------------------------------------------- 1 | "\udd00" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/emitting-unacceptable-unicode-character-bug-py2.skip-ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/emitting-unacceptable-unicode-character-bug-py2.skip-ext -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/emitting-unacceptable-unicode-character-bug-py3.code: -------------------------------------------------------------------------------- 1 | "\udd00" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/emitting-unacceptable-unicode-character-bug-py3.data: -------------------------------------------------------------------------------- 1 | "\udd00" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/emitting-unacceptable-unicode-character-bug-py3.skip-ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/emitting-unacceptable-unicode-character-bug-py3.skip-ext -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/emoticons.unicode: -------------------------------------------------------------------------------- 1 | 😀😁😂😃😄😅😆😇 2 | 😈😉😊😋😌😍😎😏 3 | 😐😑😒😓😔😕😖😗 4 | 😘😙😚😛😜😝😞😟 5 | 😠😡😢😣😤😥😦😧 6 | 😨😩😪😫😬😭😮😯 7 | 😰😱😲😳😴😵😶😷 8 | 😸😹😺😻😼😽😾😿 9 | 🙀🙁🙂🙃🙄🙅🙆🙇 10 | 🙈🙉🙊🙋🙌🙍🙎🙏 11 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/emoticons2.unicode: -------------------------------------------------------------------------------- 1 | 😀 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/empty-anchor.emitter-error: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !DocumentStart 3 | - !Scalar { anchor: '', value: 'foo' } 4 | - !DocumentEnd 5 | - !StreamEnd 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/empty-document-bug.canonical: -------------------------------------------------------------------------------- 1 | # This YAML stream contains no YAML documents. 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/empty-document-bug.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/empty-document-bug.data -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/empty-document-bug.empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/empty-document-bug.empty -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/empty-documents.single-loader-error: -------------------------------------------------------------------------------- 1 | --- # first document 2 | --- # second document 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/empty-python-module.loader-error: -------------------------------------------------------------------------------- 1 | --- !!python:module: 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/empty-python-name.loader-error: -------------------------------------------------------------------------------- 1 | --- !!python/name: empty 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/empty-tag-handle.emitter-error: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !DocumentStart { tags: { '': 'bar' } } 3 | - !Scalar { value: 'foo' } 4 | - !DocumentEnd 5 | - !StreamEnd 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/empty-tag-prefix.emitter-error: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !DocumentStart { tags: { '!': '' } } 3 | - !Scalar { value: 'foo' } 4 | - !DocumentEnd 5 | - !StreamEnd 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/empty-tag.emitter-error: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !DocumentStart 3 | - !Scalar { tag: '', value: 'key', implicit: [false,false] } 4 | - !DocumentEnd 5 | - !StreamEnd 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/expected-document-end.emitter-error: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !DocumentStart 3 | - !Scalar { value: 'data 1' } 4 | - !Scalar { value: 'data 2' } 5 | - !DocumentEnd 6 | - !StreamEnd 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/expected-document-start.emitter-error: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !MappingStart 3 | - !MappingEnd 4 | - !StreamEnd 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/expected-mapping.loader-error: -------------------------------------------------------------------------------- 1 | --- !!map [not, a, map] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/expected-node-1.emitter-error: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !DocumentStart 3 | - !DocumentEnd 4 | - !StreamEnd 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/expected-node-2.emitter-error: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !DocumentStart 3 | - !MappingStart 4 | - !Scalar { value: 'key' } 5 | - !MappingEnd 6 | - !DocumentEnd 7 | - !StreamEnd 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/expected-nothing.emitter-error: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !StreamEnd 3 | - !StreamStart 4 | - !StreamEnd 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/expected-scalar.loader-error: -------------------------------------------------------------------------------- 1 | --- !!str [not a scalar] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/expected-sequence.loader-error: -------------------------------------------------------------------------------- 1 | --- !!seq {foo, bar, baz} 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/expected-stream-start.emitter-error: -------------------------------------------------------------------------------- 1 | - !DocumentStart 2 | - !DocumentEnd 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/explicit-document.single-loader-error: -------------------------------------------------------------------------------- 1 | --- 2 | foo: bar 3 | --- 4 | foo: bar 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/fetch-complex-value-bug.loader-error: -------------------------------------------------------------------------------- 1 | ? "foo" 2 | : "bar" 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/float-representer-2.3-bug.code: -------------------------------------------------------------------------------- 1 | { 2 | # 0.0: 0, 3 | 1.0: 1, 4 | 1e300000: +10, 5 | -1e300000: -10, 6 | 1e300000/1e300000: 100, 7 | } 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/float-representer-2.3-bug.data: -------------------------------------------------------------------------------- 1 | #0.0: # hash(0) == hash(nan) and 0 == nan in Python 2.3 2 | 1.0: 1 3 | +.inf: 10 4 | -.inf: -10 5 | .nan: 100 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/float.data: -------------------------------------------------------------------------------- 1 | - 6.8523015e+5 2 | - 685.230_15e+03 3 | - 685_230.15 4 | - 190:20:30.15 5 | - -.inf 6 | - .NaN 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/float.detect: -------------------------------------------------------------------------------- 1 | tag:yaml.org,2002:float 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/forbidden-entry.loader-error: -------------------------------------------------------------------------------- 1 | test: - foo 2 | - bar 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/forbidden-key.loader-error: -------------------------------------------------------------------------------- 1 | test: ? foo 2 | : bar 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/forbidden-value.loader-error: -------------------------------------------------------------------------------- 1 | test: key: value 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/implicit-document.single-loader-error: -------------------------------------------------------------------------------- 1 | foo: bar 2 | --- 3 | foo: bar 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/int.data: -------------------------------------------------------------------------------- 1 | - 685230 2 | - +685_230 3 | - 02472256 4 | - 0x_0A_74_AE 5 | - 0b1010_0111_0100_1010_1110 6 | - 190:20:30 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/int.detect: -------------------------------------------------------------------------------- 1 | tag:yaml.org,2002:int 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-anchor-1.loader-error: -------------------------------------------------------------------------------- 1 | --- &? foo # we allow only ascii and numeric characters in anchor names. 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-anchor-2.loader-error: -------------------------------------------------------------------------------- 1 | --- 2 | - [ 3 | &correct foo, 4 | *correct, 5 | *correct] # still correct 6 | - *correct: still correct 7 | - &correct-or-not[foo, bar] 8 | 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-anchor.emitter-error: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !DocumentStart 3 | - !Scalar { anchor: '5*5=25', value: 'foo' } 4 | - !DocumentEnd 5 | - !StreamEnd 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-base64-data-2.loader-error: -------------------------------------------------------------------------------- 1 | --- !!binary 2 | двоичные данные в base64 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-base64-data.loader-error: -------------------------------------------------------------------------------- 1 | --- !!binary 2 | binary data encoded in base64 should be here. 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-block-scalar-indicator.loader-error: -------------------------------------------------------------------------------- 1 | --- > what is this? # a comment 2 | data 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-directive-line.loader-error: -------------------------------------------------------------------------------- 1 | %YAML 1.1 ? # extra symbol 2 | --- 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-directive-name-1.loader-error: -------------------------------------------------------------------------------- 1 | % # no name at all 2 | --- 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-directive-name-2.loader-error: -------------------------------------------------------------------------------- 1 | %invalid-characters:in-directive name 2 | --- 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-escape-numbers.loader-error: -------------------------------------------------------------------------------- 1 | "hm.... \u123?" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-indentation-indicator-1.loader-error: -------------------------------------------------------------------------------- 1 | --- >0 # not valid 2 | data 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-indentation-indicator-2.loader-error: -------------------------------------------------------------------------------- 1 | --- >-0 2 | data 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-item-without-trailing-break.loader-error: -------------------------------------------------------------------------------- 1 | - 2 | -0 -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-merge-1.loader-error: -------------------------------------------------------------------------------- 1 | foo: bar 2 | <<: baz 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-merge-2.loader-error: -------------------------------------------------------------------------------- 1 | foo: bar 2 | <<: [x: 1, y: 2, z, t: 4] 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-omap-1.loader-error: -------------------------------------------------------------------------------- 1 | --- !!omap 2 | foo: bar 3 | baz: bat 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-omap-2.loader-error: -------------------------------------------------------------------------------- 1 | --- !!omap 2 | - foo: bar 3 | - baz 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-omap-3.loader-error: -------------------------------------------------------------------------------- 1 | --- !!omap 2 | - foo: bar 3 | - baz: bar 4 | bar: bar 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-pairs-1.loader-error: -------------------------------------------------------------------------------- 1 | --- !!pairs 2 | foo: bar 3 | baz: bat 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-pairs-2.loader-error: -------------------------------------------------------------------------------- 1 | --- !!pairs 2 | - foo: bar 3 | - baz 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-pairs-3.loader-error: -------------------------------------------------------------------------------- 1 | --- !!pairs 2 | - foo: bar 3 | - baz: bar 4 | bar: bar 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-python-bytes-2-py3.loader-error: -------------------------------------------------------------------------------- 1 | --- !!python/bytes 2 | двоичные данные в base64 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-python-bytes-py3.loader-error: -------------------------------------------------------------------------------- 1 | --- !!python/bytes 2 | binary data encoded in base64 should be here. 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-python-module-kind.loader-error: -------------------------------------------------------------------------------- 1 | --- !!python/module:sys { must, be, scalar } 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-python-module-value.loader-error: -------------------------------------------------------------------------------- 1 | --- !!python/module:sys "non-empty value" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-python-module.loader-error: -------------------------------------------------------------------------------- 1 | --- !!python/module:no.such.module 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-python-name-kind.loader-error: -------------------------------------------------------------------------------- 1 | --- !!python/name:sys.modules {} 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-python-name-module.loader-error: -------------------------------------------------------------------------------- 1 | --- !!python/name:sys.modules.keys 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-python-name-object.loader-error: -------------------------------------------------------------------------------- 1 | --- !!python/name:os.path.rm_rf 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-python-name-value.loader-error: -------------------------------------------------------------------------------- 1 | --- !!python/name:sys.modules 5 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-simple-key.loader-error: -------------------------------------------------------------------------------- 1 | key: value 2 | invalid simple key 3 | next key: next value 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-single-quote-bug.code: -------------------------------------------------------------------------------- 1 | ["foo 'bar'", "foo\n'bar'"] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-single-quote-bug.data: -------------------------------------------------------------------------------- 1 | - "foo 'bar'" 2 | - "foo\n'bar'" 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-starting-character.loader-error: -------------------------------------------------------------------------------- 1 | @@@@@@@@@@@@@@@@@@@ 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-tag-1.loader-error: -------------------------------------------------------------------------------- 1 | - ! baz 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-tag-2.loader-error: -------------------------------------------------------------------------------- 1 | - !prefix!foo#bar baz 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-tag-directive-handle.loader-error: -------------------------------------------------------------------------------- 1 | %TAG !!! !!! 2 | --- 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-tag-directive-prefix.loader-error: -------------------------------------------------------------------------------- 1 | %TAG ! tag:zz.com/foo#bar # '#' is not allowed in URLs 2 | --- 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-tag-handle-1.emitter-error: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !DocumentStart { tags: { '!foo': 'bar' } } 3 | - !Scalar { value: 'foo' } 4 | - !DocumentEnd 5 | - !StreamEnd 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-tag-handle-1.loader-error: -------------------------------------------------------------------------------- 1 | %TAG foo bar 2 | --- 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-tag-handle-2.emitter-error: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !DocumentStart { tags: { '!!!': 'bar' } } 3 | - !Scalar { value: 'foo' } 4 | - !DocumentEnd 5 | - !StreamEnd 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-tag-handle-2.loader-error: -------------------------------------------------------------------------------- 1 | %TAG !foo bar 2 | --- 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-uri-escapes-1.loader-error: -------------------------------------------------------------------------------- 1 | --- ! foo 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-uri-escapes-2.loader-error: -------------------------------------------------------------------------------- 1 | --- !<%FF> foo 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-uri-escapes-3.loader-error: -------------------------------------------------------------------------------- 1 | --- ! baz 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-uri.loader-error: -------------------------------------------------------------------------------- 1 | --- !foo! bar 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-utf8-byte.loader-error: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/invalid-utf8-byte.loader-error -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-utf8-byte.stream-error: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/invalid-utf8-byte.stream-error -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-yaml-directive-version-1.loader-error: -------------------------------------------------------------------------------- 1 | # No version at all. 2 | %YAML 3 | --- 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-yaml-directive-version-2.loader-error: -------------------------------------------------------------------------------- 1 | %YAML 1e-5 2 | --- 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-yaml-directive-version-3.loader-error: -------------------------------------------------------------------------------- 1 | %YAML 1. 2 | --- 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-yaml-directive-version-4.loader-error: -------------------------------------------------------------------------------- 1 | %YAML 1.132.435 2 | --- 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-yaml-directive-version-5.loader-error: -------------------------------------------------------------------------------- 1 | %YAML A.0 2 | --- 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-yaml-directive-version-6.loader-error: -------------------------------------------------------------------------------- 1 | %YAML 123.C 2 | --- 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/invalid-yaml-version.loader-error: -------------------------------------------------------------------------------- 1 | %YAML 2.0 2 | --- foo 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/merge.data: -------------------------------------------------------------------------------- 1 | - << 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/merge.detect: -------------------------------------------------------------------------------- 1 | tag:yaml.org,2002:merge 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/more-floats.code: -------------------------------------------------------------------------------- 1 | [0.0, +1.0, -1.0, +1e300000, -1e300000, 1e300000/1e300000, -(1e300000/1e300000)] # last two items are ind and qnan respectively. 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/more-floats.data: -------------------------------------------------------------------------------- 1 | [0.0, +1.0, -1.0, +.inf, -.inf, .nan, .nan] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/negative-float-bug.code: -------------------------------------------------------------------------------- 1 | -1.0 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/negative-float-bug.data: -------------------------------------------------------------------------------- 1 | -1.0 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/no-alias-anchor.emitter-error: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !DocumentStart 3 | - !SequenceStart 4 | - !Scalar { anchor: A, value: data } 5 | - !Alias { } 6 | - !SequenceEnd 7 | - !DocumentEnd 8 | - !StreamEnd 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/no-alias-anchor.skip-ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/no-alias-anchor.skip-ext -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/no-block-collection-end.loader-error: -------------------------------------------------------------------------------- 1 | - foo 2 | - bar 3 | baz: bar 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/no-block-mapping-end-2.loader-error: -------------------------------------------------------------------------------- 1 | ? foo 2 | : bar 3 | : baz 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/no-block-mapping-end.loader-error: -------------------------------------------------------------------------------- 1 | foo: "bar" "baz" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/no-document-start.loader-error: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | # no --- 3 | foo: bar 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/no-flow-mapping-end.loader-error: -------------------------------------------------------------------------------- 1 | { foo: bar ] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/no-flow-sequence-end.loader-error: -------------------------------------------------------------------------------- 1 | [foo, bar} 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/no-node-1.loader-error: -------------------------------------------------------------------------------- 1 | - !foo ] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/no-node-2.loader-error: -------------------------------------------------------------------------------- 1 | - [ !foo } ] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/no-tag.emitter-error: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !DocumentStart 3 | - !Scalar { value: 'foo', implicit: [false,false] } 4 | - !DocumentEnd 5 | - !StreamEnd 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/null.data: -------------------------------------------------------------------------------- 1 | - 2 | - ~ 3 | - null 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/null.detect: -------------------------------------------------------------------------------- 1 | tag:yaml.org,2002:null 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/odd-utf16.stream-error: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/odd-utf16.stream-error -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/recursive-anchor.former-loader-error: -------------------------------------------------------------------------------- 1 | - &foo [1 2 | 2, 3 | 3, 4 | *foo] 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/recursive-list.recursive: -------------------------------------------------------------------------------- 1 | value = [] 2 | value.append(value) 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/recursive-set.recursive: -------------------------------------------------------------------------------- 1 | try: 2 | set 3 | except NameError: 4 | from sets import Set as set 5 | value = set() 6 | value.add(AnInstance(foo=value, bar=value)) 7 | value.add(AnInstance(foo=value, bar=value)) 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/recursive-state.recursive: -------------------------------------------------------------------------------- 1 | value = [] 2 | value.append(AnInstanceWithState(value, value)) 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/recursive-tuple.recursive: -------------------------------------------------------------------------------- 1 | value = ([], []) 2 | value[0].append(value) 3 | value[1].append(value[0]) 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/recursive.former-dumper-error: -------------------------------------------------------------------------------- 1 | data = [] 2 | data.append(data) 3 | dump(data) 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/remove-possible-simple-key-bug.loader-error: -------------------------------------------------------------------------------- 1 | foo: &A bar 2 | *A ] # The ']' indicator triggers remove_possible_simple_key, 3 | # which should raise an error. 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/run-parser-crash-bug.data: -------------------------------------------------------------------------------- 1 | --- 2 | - Harry Potter and the Prisoner of Azkaban 3 | - Harry Potter and the Goblet of Fire 4 | - Harry Potter and the Order of the Phoenix 5 | --- 6 | - Memoirs Found in a Bathtub 7 | - Snow Crash 8 | - Ghost World 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/scan-document-end-bug.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!null "" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/scan-document-end-bug.data: -------------------------------------------------------------------------------- 1 | # Ticket #4 2 | --- 3 | ... -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/scan-line-break-bug.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { ? !!str "foo" : !!str "bar baz" } 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/scan-line-break-bug.data: -------------------------------------------------------------------------------- 1 | foo: 2 | bar 3 | baz 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/serializer-is-already-opened.dumper-error: -------------------------------------------------------------------------------- 1 | dumper = yaml.Dumper(StringIO()) 2 | dumper.open() 3 | dumper.open() 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/serializer-is-closed-1.dumper-error: -------------------------------------------------------------------------------- 1 | dumper = yaml.Dumper(StringIO()) 2 | dumper.open() 3 | dumper.close() 4 | dumper.open() 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/serializer-is-closed-2.dumper-error: -------------------------------------------------------------------------------- 1 | dumper = yaml.Dumper(StringIO()) 2 | dumper.open() 3 | dumper.close() 4 | dumper.serialize(yaml.ScalarNode(tag='!foo', value='bar')) 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/serializer-is-not-opened-1.dumper-error: -------------------------------------------------------------------------------- 1 | dumper = yaml.Dumper(StringIO()) 2 | dumper.close() 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/serializer-is-not-opened-2.dumper-error: -------------------------------------------------------------------------------- 1 | dumper = yaml.Dumper(StringIO()) 2 | dumper.serialize(yaml.ScalarNode(tag='!foo', value='bar')) 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/single-dot-is-not-float-bug.code: -------------------------------------------------------------------------------- 1 | '.' 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/single-dot-is-not-float-bug.data: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-00-01.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "some escape characters are \ncorrect, but this one \?\nis not\n" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-00-01.data: -------------------------------------------------------------------------------- 1 | "some escape characters are \ncorrect, but this one \?\nis not\n" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-01.data: -------------------------------------------------------------------------------- 1 | - Mark McGwire 2 | - Sammy Sosa 3 | - Ken Griffey 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-01.structure: -------------------------------------------------------------------------------- 1 | [True, True, True] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-01.tokens: -------------------------------------------------------------------------------- 1 | [[ , _ , _ , _ ]} 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-02.data: -------------------------------------------------------------------------------- 1 | hr: 65 # Home runs 2 | avg: 0.278 # Batting average 3 | rbi: 147 # Runs Batted In 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-02.structure: -------------------------------------------------------------------------------- 1 | [(True, True), (True, True), (True, True)] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-02.tokens: -------------------------------------------------------------------------------- 1 | {{ 2 | ? _ : _ 3 | ? _ : _ 4 | ? _ : _ 5 | ]} 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-03.data: -------------------------------------------------------------------------------- 1 | american: 2 | - Boston Red Sox 3 | - Detroit Tigers 4 | - New York Yankees 5 | national: 6 | - New York Mets 7 | - Chicago Cubs 8 | - Atlanta Braves 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-03.structure: -------------------------------------------------------------------------------- 1 | [(True, [True, True, True]), (True, [True, True, True])] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-03.tokens: -------------------------------------------------------------------------------- 1 | {{ 2 | ? _ : [[ , _ , _ , _ ]} 3 | ? _ : [[ , _ , _ , _ ]} 4 | ]} 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-04.data: -------------------------------------------------------------------------------- 1 | - 2 | name: Mark McGwire 3 | hr: 65 4 | avg: 0.278 5 | - 6 | name: Sammy Sosa 7 | hr: 63 8 | avg: 0.288 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-04.structure: -------------------------------------------------------------------------------- 1 | [ 2 | [(True, True), (True, True), (True, True)], 3 | [(True, True), (True, True), (True, True)], 4 | ] 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-04.tokens: -------------------------------------------------------------------------------- 1 | [[ 2 | , {{ ? _ : _ ? _ : _ ? _ : _ ]} 3 | , {{ ? _ : _ ? _ : _ ? _ : _ ]} 4 | ]} 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-05.data: -------------------------------------------------------------------------------- 1 | - [name , hr, avg ] 2 | - [Mark McGwire, 65, 0.278] 3 | - [Sammy Sosa , 63, 0.288] 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-05.structure: -------------------------------------------------------------------------------- 1 | [ 2 | [True, True, True], 3 | [True, True, True], 4 | [True, True, True], 5 | ] 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-05.tokens: -------------------------------------------------------------------------------- 1 | [[ 2 | , [ _ , _ , _ ] 3 | , [ _ , _ , _ ] 4 | , [ _ , _ , _ ] 5 | ]} 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-06.data: -------------------------------------------------------------------------------- 1 | Mark McGwire: {hr: 65, avg: 0.278} 2 | Sammy Sosa: { 3 | hr: 63, 4 | avg: 0.288 5 | } 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-06.structure: -------------------------------------------------------------------------------- 1 | [ 2 | (True, [(True, True), (True, True)]), 3 | (True, [(True, True), (True, True)]), 4 | ] 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-06.tokens: -------------------------------------------------------------------------------- 1 | {{ 2 | ? _ : { ? _ : _ , ? _ : _ } 3 | ? _ : { ? _ : _ , ? _ : _ } 4 | ]} 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-07.data: -------------------------------------------------------------------------------- 1 | # Ranking of 1998 home runs 2 | --- 3 | - Mark McGwire 4 | - Sammy Sosa 5 | - Ken Griffey 6 | 7 | # Team ranking 8 | --- 9 | - Chicago Cubs 10 | - St Louis Cardinals 11 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-07.structure: -------------------------------------------------------------------------------- 1 | [ 2 | [True, True, True], 3 | [True, True], 4 | ] 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-07.tokens: -------------------------------------------------------------------------------- 1 | --- 2 | [[ 3 | , _ 4 | , _ 5 | , _ 6 | ]} 7 | 8 | --- 9 | [[ 10 | , _ 11 | , _ 12 | ]} 13 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-08.data: -------------------------------------------------------------------------------- 1 | --- 2 | time: 20:03:20 3 | player: Sammy Sosa 4 | action: strike (miss) 5 | ... 6 | --- 7 | time: 20:03:47 8 | player: Sammy Sosa 9 | action: grand slam 10 | ... 11 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-08.structure: -------------------------------------------------------------------------------- 1 | [ 2 | [(True, True), (True, True), (True, True)], 3 | [(True, True), (True, True), (True, True)], 4 | ] 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-08.tokens: -------------------------------------------------------------------------------- 1 | --- 2 | {{ 3 | ? _ : _ 4 | ? _ : _ 5 | ? _ : _ 6 | ]} 7 | ... 8 | 9 | --- 10 | {{ 11 | ? _ : _ 12 | ? _ : _ 13 | ? _ : _ 14 | ]} 15 | ... 16 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-09.data: -------------------------------------------------------------------------------- 1 | --- 2 | hr: # 1998 hr ranking 3 | - Mark McGwire 4 | - Sammy Sosa 5 | rbi: 6 | # 1998 rbi ranking 7 | - Sammy Sosa 8 | - Ken Griffey 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-09.structure: -------------------------------------------------------------------------------- 1 | [(True, [True, True]), (True, [True, True])] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-09.tokens: -------------------------------------------------------------------------------- 1 | --- 2 | {{ 3 | ? _ : [[ , _ , _ ]} 4 | ? _ : [[ , _ , _ ]} 5 | ]} 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-10.data: -------------------------------------------------------------------------------- 1 | --- 2 | hr: 3 | - Mark McGwire 4 | # Following node labeled SS 5 | - &SS Sammy Sosa 6 | rbi: 7 | - *SS # Subsequent occurrence 8 | - Ken Griffey 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-10.structure: -------------------------------------------------------------------------------- 1 | [(True, [True, True]), (True, ['*', True])] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-10.tokens: -------------------------------------------------------------------------------- 1 | --- 2 | {{ 3 | ? _ : [[ , _ , & _ ]} 4 | ? _ : [[ , * , _ ]} 5 | ]} 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-11.data: -------------------------------------------------------------------------------- 1 | ? - Detroit Tigers 2 | - Chicago cubs 3 | : 4 | - 2001-07-23 5 | 6 | ? [ New York Yankees, 7 | Atlanta Braves ] 8 | : [ 2001-07-02, 2001-08-12, 9 | 2001-08-14 ] 10 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-11.structure: -------------------------------------------------------------------------------- 1 | [ 2 | ([True, True], [True]), 3 | ([True, True], [True, True, True]), 4 | ] 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-11.tokens: -------------------------------------------------------------------------------- 1 | {{ 2 | ? [[ , _ , _ ]} 3 | : [[ , _ ]} 4 | ? [ _ , _ ] 5 | : [ _ , _ , _ ] 6 | ]} 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-12.data: -------------------------------------------------------------------------------- 1 | --- 2 | # products purchased 3 | - item : Super Hoop 4 | quantity: 1 5 | - item : Basketball 6 | quantity: 4 7 | - item : Big Shoes 8 | quantity: 1 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-12.structure: -------------------------------------------------------------------------------- 1 | [ 2 | [(True, True), (True, True)], 3 | [(True, True), (True, True)], 4 | [(True, True), (True, True)], 5 | ] 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-12.tokens: -------------------------------------------------------------------------------- 1 | --- 2 | [[ 3 | , {{ ? _ : _ ? _ : _ ]} 4 | , {{ ? _ : _ ? _ : _ ]} 5 | , {{ ? _ : _ ? _ : _ ]} 6 | ]} 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-13.data: -------------------------------------------------------------------------------- 1 | # ASCII Art 2 | --- | 3 | \//||\/|| 4 | // || ||__ 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-13.structure: -------------------------------------------------------------------------------- 1 | True 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-13.tokens: -------------------------------------------------------------------------------- 1 | --- _ 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-14.data: -------------------------------------------------------------------------------- 1 | --- 2 | Mark McGwire's 3 | year was crippled 4 | by a knee injury. 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-14.structure: -------------------------------------------------------------------------------- 1 | True 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-14.tokens: -------------------------------------------------------------------------------- 1 | --- _ 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-15.data: -------------------------------------------------------------------------------- 1 | > 2 | Sammy Sosa completed another 3 | fine season with great stats. 4 | 5 | 63 Home Runs 6 | 0.288 Batting Average 7 | 8 | What a year! 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-15.structure: -------------------------------------------------------------------------------- 1 | True 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-15.tokens: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-16.data: -------------------------------------------------------------------------------- 1 | name: Mark McGwire 2 | accomplishment: > 3 | Mark set a major league 4 | home run record in 1998. 5 | stats: | 6 | 65 Home Runs 7 | 0.278 Batting Average 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-16.structure: -------------------------------------------------------------------------------- 1 | [(True, True), (True, True), (True, True)] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-16.tokens: -------------------------------------------------------------------------------- 1 | {{ 2 | ? _ : _ 3 | ? _ : _ 4 | ? _ : _ 5 | ]} 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-17.data: -------------------------------------------------------------------------------- 1 | unicode: "Sosa did fine.\u263A" 2 | control: "\b1998\t1999\t2000\n" 3 | hexesc: "\x13\x10 is \r\n" 4 | 5 | single: '"Howdy!" he cried.' 6 | quoted: ' # not a ''comment''.' 7 | tie-fighter: '|\-*-/|' 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-17.structure: -------------------------------------------------------------------------------- 1 | [(True, True), (True, True), (True, True), (True, True), (True, True), (True, True)] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-17.tokens: -------------------------------------------------------------------------------- 1 | {{ 2 | ? _ : _ 3 | ? _ : _ 4 | ? _ : _ 5 | ? _ : _ 6 | ? _ : _ 7 | ? _ : _ 8 | ]} 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-18.data: -------------------------------------------------------------------------------- 1 | plain: 2 | This unquoted scalar 3 | spans many lines. 4 | 5 | quoted: "So does this 6 | quoted scalar.\n" 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-18.structure: -------------------------------------------------------------------------------- 1 | [(True, True), (True, True)] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-18.tokens: -------------------------------------------------------------------------------- 1 | {{ 2 | ? _ : _ 3 | ? _ : _ 4 | ]} 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-19.data: -------------------------------------------------------------------------------- 1 | canonical: 12345 2 | decimal: +12,345 3 | sexagesimal: 3:25:45 4 | octal: 014 5 | hexadecimal: 0xC 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-19.structure: -------------------------------------------------------------------------------- 1 | [(True, True), (True, True), (True, True), (True, True), (True, True)] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-19.tokens: -------------------------------------------------------------------------------- 1 | {{ 2 | ? _ : _ 3 | ? _ : _ 4 | ? _ : _ 5 | ? _ : _ 6 | ? _ : _ 7 | ]} 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-20.data: -------------------------------------------------------------------------------- 1 | canonical: 1.23015e+3 2 | exponential: 12.3015e+02 3 | sexagesimal: 20:30.15 4 | fixed: 1,230.15 5 | negative infinity: -.inf 6 | not a number: .NaN 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-20.structure: -------------------------------------------------------------------------------- 1 | [(True, True), (True, True), (True, True), (True, True), (True, True), (True, True)] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-20.tokens: -------------------------------------------------------------------------------- 1 | {{ 2 | ? _ : _ 3 | ? _ : _ 4 | ? _ : _ 5 | ? _ : _ 6 | ? _ : _ 7 | ? _ : _ 8 | ]} 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-21.data: -------------------------------------------------------------------------------- 1 | null: ~ 2 | true: y 3 | false: n 4 | string: '12345' 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-21.structure: -------------------------------------------------------------------------------- 1 | [(True, True), (True, True), (True, True), (True, True)] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-21.tokens: -------------------------------------------------------------------------------- 1 | {{ 2 | ? _ : _ 3 | ? _ : _ 4 | ? _ : _ 5 | ? _ : _ 6 | ]} 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-22.data: -------------------------------------------------------------------------------- 1 | canonical: 2001-12-15T02:59:43.1Z 2 | iso8601: 2001-12-14t21:59:43.10-05:00 3 | spaced: 2001-12-14 21:59:43.10 -5 4 | date: 2002-12-14 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-22.structure: -------------------------------------------------------------------------------- 1 | [(True, True), (True, True), (True, True), (True, True)] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-22.tokens: -------------------------------------------------------------------------------- 1 | {{ 2 | ? _ : _ 3 | ? _ : _ 4 | ? _ : _ 5 | ? _ : _ 6 | ]} 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-23.structure: -------------------------------------------------------------------------------- 1 | [(True, True), (True, True), (True, True)] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-23.tokens: -------------------------------------------------------------------------------- 1 | --- 2 | {{ 3 | ? _ : ! _ 4 | ? _ : ! _ 5 | ? _ : ! _ 6 | ]} 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-24.structure: -------------------------------------------------------------------------------- 1 | [ 2 | [(True, [(True, True), (True, True)]), (True, True)], 3 | [(True, '*'), (True, [(True, True), (True, True)])], 4 | [(True, '*'), (True, True), (True, True)], 5 | ] 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-25.data: -------------------------------------------------------------------------------- 1 | # sets are represented as a 2 | # mapping where each key is 3 | # associated with the empty string 4 | --- !!set 5 | ? Mark McGwire 6 | ? Sammy Sosa 7 | ? Ken Griff 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-25.structure: -------------------------------------------------------------------------------- 1 | [(True, None), (True, None), (True, None)] 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-25.tokens: -------------------------------------------------------------------------------- 1 | --- ! 2 | {{ 3 | ? _ 4 | ? _ 5 | ? _ 6 | ]} 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-26.data: -------------------------------------------------------------------------------- 1 | # ordered maps are represented as 2 | # a sequence of mappings, with 3 | # each mapping having one key 4 | --- !!omap 5 | - Mark McGwire: 65 6 | - Sammy Sosa: 63 7 | - Ken Griffy: 58 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-26.structure: -------------------------------------------------------------------------------- 1 | [ 2 | [(True, True)], 3 | [(True, True)], 4 | [(True, True)], 5 | ] 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-02-26.tokens: -------------------------------------------------------------------------------- 1 | --- ! 2 | [[ 3 | , {{ ? _ : _ ]} 4 | , {{ ? _ : _ ]} 5 | , {{ ? _ : _ ]} 6 | ]} 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-01-utf16be.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/spec-05-01-utf16be.data -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-01-utf16be.empty: -------------------------------------------------------------------------------- 1 | # This stream contains no 2 | # documents, only comments. 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-01-utf16le.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/spec-05-01-utf16le.data -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-01-utf16le.empty: -------------------------------------------------------------------------------- 1 | # This stream contains no 2 | # documents, only comments. 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-01-utf8.data: -------------------------------------------------------------------------------- 1 | # Comment only. 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-01-utf8.empty: -------------------------------------------------------------------------------- 1 | # This stream contains no 2 | # documents, only comments. 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-02-utf16be.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/spec-05-02-utf16be.data -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-02-utf16be.error: -------------------------------------------------------------------------------- 1 | ERROR: 2 | A BOM must not appear 3 | inside a document. 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-02-utf16le.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/spec-05-02-utf16le.data -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-02-utf16le.error: -------------------------------------------------------------------------------- 1 | ERROR: 2 | A BOM must not appear 3 | inside a document. 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-02-utf8.data: -------------------------------------------------------------------------------- 1 | # Invalid use of BOM 2 | # inside a 3 | # document. 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-02-utf8.error: -------------------------------------------------------------------------------- 1 | ERROR: 2 | A BOM must not appear 3 | inside a document. 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-03.data: -------------------------------------------------------------------------------- 1 | sequence: 2 | - one 3 | - two 4 | mapping: 5 | ? sky 6 | : blue 7 | ? sea : green 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-04.data: -------------------------------------------------------------------------------- 1 | sequence: [ one, two, ] 2 | mapping: { sky: blue, sea: green } 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-05.data: -------------------------------------------------------------------------------- 1 | # Comment only. 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-05.empty: -------------------------------------------------------------------------------- 1 | # This stream contains no 2 | # documents, only comments. 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-06.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "anchored" 5 | : &A1 !local "value", 6 | ? !!str "alias" 7 | : *A1, 8 | } 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-06.data: -------------------------------------------------------------------------------- 1 | anchored: !local &anchor value 2 | alias: *anchor 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-07.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "literal" 5 | : !!str "text\n", 6 | ? !!str "folded" 7 | : !!str "text\n", 8 | } 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-07.data: -------------------------------------------------------------------------------- 1 | literal: | 2 | text 3 | folded: > 4 | text 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-08.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "single" 5 | : !!str "text", 6 | ? !!str "double" 7 | : !!str "text", 8 | } 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-08.data: -------------------------------------------------------------------------------- 1 | single: 'text' 2 | double: "text" 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-09.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "text" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-09.data: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- text 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-10.data: -------------------------------------------------------------------------------- 1 | commercial-at: @text 2 | grave-accent: `text 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-10.error: -------------------------------------------------------------------------------- 1 | ERROR: 2 | Reserved indicators can't 3 | start a plain scalar. 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-11.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- !!str 3 | "Generic line break (no glyph)\n\ 4 | Generic line break (glyphed)\n\ 5 | Line separator\u2028\ 6 | Paragraph separator\u2029" 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-11.data: -------------------------------------------------------------------------------- 1 | | 2 | Generic line break (no glyph) 3 | Generic line break (glyphed)… Line separator
 Paragraph separator
 -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-12.data: -------------------------------------------------------------------------------- 1 | # Tabs do's and don'ts: 2 | # comment: 3 | quoted: "Quoted " 4 | block: | 5 | void main() { 6 | printf("Hello, world!\n"); 7 | } 8 | elsewhere: # separation 9 | indentation, in plain scalar 10 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-12.error: -------------------------------------------------------------------------------- 1 | ERROR: 2 | Tabs may appear inside 3 | comments and quoted or 4 | block scalar content. 5 | Tabs must not appear 6 | elsewhere, such as 7 | in indentation and 8 | separation spaces. 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-13.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- !!str 3 | "Text containing \ 4 | both space and \ 5 | tab characters" 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-13.data: -------------------------------------------------------------------------------- 1 | "Text containing 2 | both space and 3 | tab characters" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-14.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | "Fun with \x5C 4 | \x22 \x07 \x08 \x1B \x0C 5 | \x0A \x0D \x09 \x0B \x00 6 | \x20 \xA0 \x85 \u2028 \u2029 7 | A A A" 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-14.data: -------------------------------------------------------------------------------- 1 | "Fun with \\ 2 | \" \a \b \e \f \… \n \r \t \v \0 \
 \ \_ \N \L \P \
 \x41 \u0041 \U00000041" 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-15.data: -------------------------------------------------------------------------------- 1 | Bad escapes: 2 | "\c 3 | \xq-" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-05-15.error: -------------------------------------------------------------------------------- 1 | ERROR: 2 | - c is an invalid escaped character. 3 | - q and - are invalid hex digits. 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-06-02.data: -------------------------------------------------------------------------------- 1 | # Comment 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-06-02.empty: -------------------------------------------------------------------------------- 1 | # This stream contains no 2 | # documents, only comments. 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-06-03.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "key" 5 | : !!str "value" 6 | } 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-06-03.data: -------------------------------------------------------------------------------- 1 | key: # Comment 2 | value 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-06-04.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "key" 5 | : !!str "value" 6 | } 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-06-04.data: -------------------------------------------------------------------------------- 1 | key: # Comment 2 | # lines 3 | value 4 | 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-06-05.data: -------------------------------------------------------------------------------- 1 | { first: Sammy, last: Sosa }: 2 | # Statistics: 3 | hr: # Home runs 4 | 65 5 | avg: # Average 6 | 0.278 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-06-06.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "plain" 5 | : !!str "text lines", 6 | ? !!str "quoted" 7 | : !!str "text lines", 8 | ? !!str "block" 9 | : !!str "text\n lines\n" 10 | } 11 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-06-06.data: -------------------------------------------------------------------------------- 1 | plain: text 2 | lines 3 | quoted: "text 4 | lines" 5 | block: | 6 | text 7 | lines 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-06-07.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | !!str "foo\nbar", 5 | !!str "foo\n\nbar" 6 | ] 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-06-07.data: -------------------------------------------------------------------------------- 1 | - foo 2 | 3 | bar 4 | - |- 5 | foo 6 | 7 | bar 8 | 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-06-08.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- !!str 3 | "specific\L\ 4 | trimmed\n\n\n\ 5 | as space" 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-06-08.data: -------------------------------------------------------------------------------- 1 | >- 2 | specific
 trimmed… … …… as… space 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-01.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- !!str 3 | "foo" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-01.data: -------------------------------------------------------------------------------- 1 | %FOO bar baz # Should be ignored 2 | # with a warning. 3 | --- "foo" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-01.skip-ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/spec-07-01.skip-ext -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-02.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "foo" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-02.data: -------------------------------------------------------------------------------- 1 | %YAML 1.2 # Attempt parsing 2 | # with a warning 3 | --- 4 | "foo" 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-02.skip-ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/spec-07-02.skip-ext -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-03.data: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %YAML 1.1 3 | foo 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-03.error: -------------------------------------------------------------------------------- 1 | ERROR: 2 | The YAML directive must only be 3 | given at most once per document. 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-04.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "foo" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-04.data: -------------------------------------------------------------------------------- 1 | %TAG !yaml! tag:yaml.org,2002: 2 | --- 3 | !yaml!str "foo" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-05.data: -------------------------------------------------------------------------------- 1 | %TAG ! !foo 2 | %TAG ! !foo 3 | bar 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-05.error: -------------------------------------------------------------------------------- 1 | ERROR: 2 | The TAG directive must only 3 | be given at most once per 4 | handle in the same document. 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-06.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | ! "baz", 5 | ! "string" 6 | ] 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-06.data: -------------------------------------------------------------------------------- 1 | %TAG ! !foo 2 | %TAG !yaml! tag:yaml.org,2002: 3 | --- 4 | - !bar "baz" 5 | - !yaml!str "string" 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-07a.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | ! "bar" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-07a.data: -------------------------------------------------------------------------------- 1 | # Private application: 2 | !foo "bar" 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-07b.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | ! "bar" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-07b.data: -------------------------------------------------------------------------------- 1 | # Migrated to global: 2 | %TAG ! tag:ben-kiki.org,2000:app/ 3 | --- 4 | !foo "bar" 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-08.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | ! "bar", 5 | ! "string", 6 | ! "baz" 7 | ] 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-08.data: -------------------------------------------------------------------------------- 1 | # Explicitly specify default settings: 2 | %TAG ! ! 3 | %TAG !! tag:yaml.org,2002: 4 | # Named handles have no default: 5 | %TAG !o! tag:ben-kiki.org,2000: 6 | --- 7 | - !foo "bar" 8 | - !!str "string" 9 | - !o!type "baz" 10 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-09.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "foo" 4 | %YAML 1.1 5 | --- 6 | !!str "bar" 7 | %YAML 1.1 8 | --- 9 | !!str "baz" 10 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-09.data: -------------------------------------------------------------------------------- 1 | --- 2 | foo 3 | ... 4 | # Repeated end marker. 5 | ... 6 | --- 7 | bar 8 | # No end marker. 9 | --- 10 | baz 11 | ... 12 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-10.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "Root flow scalar" 4 | %YAML 1.1 5 | --- 6 | !!str "Root block scalar\n" 7 | %YAML 1.1 8 | --- 9 | !!map { 10 | ? !!str "foo" 11 | : !!str "bar" 12 | } 13 | --- 14 | #!!str "" 15 | !!null "" 16 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-10.data: -------------------------------------------------------------------------------- 1 | "Root flow 2 | scalar" 3 | --- !!str > 4 | Root block 5 | scalar 6 | --- 7 | # Root collection: 8 | foo : bar 9 | ... # Is optional. 10 | --- 11 | # Explicit document may be empty. 12 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-11.data: -------------------------------------------------------------------------------- 1 | # A stream may contain 2 | # no documents. 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-11.empty: -------------------------------------------------------------------------------- 1 | # This stream contains no 2 | # documents, only comments. 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-12a.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "foo" 5 | : !!str "bar" 6 | } 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-12a.data: -------------------------------------------------------------------------------- 1 | # Implicit document. Root 2 | # collection (mapping) node. 3 | foo : bar 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-12b.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "Text content\n" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-12b.data: -------------------------------------------------------------------------------- 1 | # Explicit document. Root 2 | # scalar (literal) node. 3 | --- | 4 | Text content 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-13.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "First document" 4 | --- 5 | ! "No directives" 6 | --- 7 | ! "With directives" 8 | --- 9 | ! "Reset settings" 10 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-07-13.data: -------------------------------------------------------------------------------- 1 | ! "First document" 2 | --- 3 | !foo "No directives" 4 | %TAG ! !foo 5 | --- 6 | !bar "With directives" 7 | %YAML 1.1 8 | --- 9 | !baz "Reset settings" 10 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-01.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? &A1 !!str "foo" 5 | : !!str "bar", 6 | ? &A2 !!str "baz" 7 | : *A1 8 | } 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-01.data: -------------------------------------------------------------------------------- 1 | !!str &a1 "foo" : !!str bar 2 | &a2 baz : *a1 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-02.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "First occurrence" 5 | : &A !!str "Value", 6 | ? !!str "Second occurrence" 7 | : *A 8 | } 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-02.data: -------------------------------------------------------------------------------- 1 | First occurrence: &anchor Value 2 | Second occurrence: *anchor 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-03.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? ! "foo" 5 | : ! "baz" 6 | } 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-03.data: -------------------------------------------------------------------------------- 1 | ! foo : 2 | ! baz 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-04.data: -------------------------------------------------------------------------------- 1 | - ! foo 2 | - !<$:?> bar 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-04.error: -------------------------------------------------------------------------------- 1 | ERROR: 2 | - Verbatim tags aren't resolved, 3 | so ! is invalid. 4 | - The $:? tag is neither a global 5 | URI tag nor a local tag starting 6 | with “!”. 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-05.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | ! "foo", 5 | ! "bar", 6 | ! "baz", 7 | ] 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-05.data: -------------------------------------------------------------------------------- 1 | %TAG !o! tag:ben-kiki.org,2000: 2 | --- 3 | - !local foo 4 | - !!str bar 5 | - !o!type baz 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-06.data: -------------------------------------------------------------------------------- 1 | %TAG !o! tag:ben-kiki.org,2000: 2 | --- 3 | - !$a!b foo 4 | - !o! bar 5 | - !h!type baz 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-06.error: -------------------------------------------------------------------------------- 1 | ERROR: 2 | - The !$a! looks like a handle. 3 | - The !o! handle has no suffix. 4 | - The !h! handle wasn't declared. 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-07.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | ! "12", 5 | ! "12", 6 | # ! "12", 7 | ! "12", 8 | ] 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-07.data: -------------------------------------------------------------------------------- 1 | # Assuming conventional resolution: 2 | - "12" 3 | - 12 4 | - ! 12 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-08.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "foo" 5 | : !!str "bar baz" 6 | } 7 | %YAML 1.1 8 | --- 9 | !!str "foo bar" 10 | %YAML 1.1 11 | --- 12 | !!str "foo bar" 13 | %YAML 1.1 14 | --- 15 | !!str "foo\n" 16 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-08.data: -------------------------------------------------------------------------------- 1 | --- 2 | foo: 3 | "bar 4 | baz" 5 | --- 6 | "foo 7 | bar" 8 | --- 9 | foo 10 | bar 11 | --- | 12 | foo 13 | ... 14 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-11.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "First occurrence" 5 | : &A !!str "Value", 6 | ? !!str "Second occurrence" 7 | : *A 8 | } 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-11.data: -------------------------------------------------------------------------------- 1 | First occurrence: &anchor Value 2 | Second occurrence: *anchor 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-12.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | !!str "Without properties", 5 | &A !!str "Anchored", 6 | !!str "Tagged", 7 | *A, 8 | !!str "", 9 | !!str "", 10 | ] 11 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-12.data: -------------------------------------------------------------------------------- 1 | [ 2 | Without properties, 3 | &anchor "Anchored", 4 | !!str 'Tagged', 5 | *anchor, # Alias node 6 | !!str , # Empty plain scalar 7 | '', # Empty plain scalar 8 | ] 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-13.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "foo" 5 | # : !!str "", 6 | # ? !!str "" 7 | : !!null "", 8 | ? !!null "" 9 | : !!str "bar", 10 | } 11 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-13.data: -------------------------------------------------------------------------------- 1 | { 2 | ? foo :, 3 | ? : bar, 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-13.skip-ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/spec-08-13.skip-ext -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-14.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | !!str "flow in block", 5 | !!str "Block scalar\n", 6 | !!map { 7 | ? !!str "foo" 8 | : !!str "bar" 9 | } 10 | ] 11 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-14.data: -------------------------------------------------------------------------------- 1 | - "flow in block" 2 | - > 3 | Block scalar 4 | - !!map # Block collection 5 | foo : bar 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-15.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | !!null "", 5 | !!map { 6 | ? !!str "foo" 7 | : !!null "", 8 | ? !!null "" 9 | : !!str "bar", 10 | } 11 | ] 12 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-08-15.data: -------------------------------------------------------------------------------- 1 | - # Empty plain scalar 2 | - ? foo 3 | : 4 | ? 5 | : bar 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-01.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "simple key" 5 | : !!map { 6 | ? !!str "also simple" 7 | : !!str "value", 8 | ? !!str "not a simple key" 9 | : !!str "any value" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-01.data: -------------------------------------------------------------------------------- 1 | "simple key" : { 2 | "also simple" : value, 3 | ? "not a 4 | simple key" : "any 5 | value" 6 | } 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-02.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "as space \ 4 | trimmed\n\ 5 | specific\L\n\ 6 | escaped\t\n\ 7 | none" 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-02.data: -------------------------------------------------------------------------------- 1 | "as space 2 | trimmed 3 | 4 | specific
 5 | escaped \
 6 | none" 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-03.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | !!str " last", 5 | !!str " last", 6 | !!str " \tfirst last", 7 | ] 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-03.data: -------------------------------------------------------------------------------- 1 | - " 2 | last" 3 | - " 4 | last" 5 | - " first 6 | last" 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-04.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "first \ 4 | inner 1 \ 5 | inner 2 \ 6 | last" 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-04.data: -------------------------------------------------------------------------------- 1 | "first 2 | inner 1 3 | \ inner 2 \ 4 | last" 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-05.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | !!str "first ", 5 | !!str "first\nlast", 6 | !!str "first inner \tlast", 7 | ] 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-05.data: -------------------------------------------------------------------------------- 1 | - "first 2 | " 3 | - "first 4 | 5 | last" 6 | - "first 7 | inner 8 | \ last" 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-06.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "here's to \"quotes\"" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-06.data: -------------------------------------------------------------------------------- 1 | 'here''s to "quotes"' 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-07.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "simple key" 5 | : !!map { 6 | ? !!str "also simple" 7 | : !!str "value", 8 | ? !!str "not a simple key" 9 | : !!str "any value" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-07.data: -------------------------------------------------------------------------------- 1 | 'simple key' : { 2 | 'also simple' : value, 3 | ? 'not a 4 | simple key' : 'any 5 | value' 6 | } 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-08.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "as space \ 4 | trimmed\n\ 5 | specific\L\n\ 6 | none" 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-08.data: -------------------------------------------------------------------------------- 1 | 'as space … trimmed …… specific
… none' 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-09.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | !!str " last", 5 | !!str " last", 6 | !!str " \tfirst last", 7 | ] 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-09.data: -------------------------------------------------------------------------------- 1 | - ' 2 | last' 3 | - ' 4 | last' 5 | - ' first 6 | last' 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-10.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "first \ 4 | inner \ 5 | last" 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-10.data: -------------------------------------------------------------------------------- 1 | 'first 2 | inner 3 | last' 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-11.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | !!str "first ", 5 | !!str "first\nlast", 6 | ] 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-11.data: -------------------------------------------------------------------------------- 1 | - 'first 2 | ' 3 | - 'first 4 | 5 | last' 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-12.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | !!str "::std::vector", 5 | !!str "Up, up, and away!", 6 | !!int "-123", 7 | !!seq [ 8 | !!str "::std::vector", 9 | !!str "Up, up, and away!", 10 | !!int "-123", 11 | ] 12 | ] 13 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-12.data: -------------------------------------------------------------------------------- 1 | # Outside flow collection: 2 | - ::std::vector 3 | - Up, up, and away! 4 | - -123 5 | # Inside flow collection: 6 | - [ '::std::vector', 7 | "Up, up, and away!", 8 | -123 ] 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-13.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "simple key" 5 | : !!map { 6 | ? !!str "also simple" 7 | : !!str "value", 8 | ? !!str "not a simple key" 9 | : !!str "any value" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-13.data: -------------------------------------------------------------------------------- 1 | simple key : { 2 | also simple : value, 3 | ? not a 4 | simple key : any 5 | value 6 | } 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-14.data: -------------------------------------------------------------------------------- 1 | --- 2 | --- ||| : foo 3 | ... >>>: bar 4 | --- 5 | [ 6 | --- 7 | , 8 | ... , 9 | { 10 | --- : 11 | ... # Nested 12 | } 13 | ] 14 | ... 15 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-14.error: -------------------------------------------------------------------------------- 1 | ERROR: 2 | The --- and ... document 3 | start and end markers must 4 | not be specified as the 5 | first content line of a 6 | non-indented plain scalar. 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-15.data: -------------------------------------------------------------------------------- 1 | --- 2 | "---" : foo 3 | ...: bar 4 | --- 5 | [ 6 | ---, 7 | ..., 8 | { 9 | ? --- 10 | : ... 11 | } 12 | ] 13 | ... 14 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-16.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "as space \ 4 | trimmed\n\ 5 | specific\L\n\ 6 | none" 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-16.data: -------------------------------------------------------------------------------- 1 | # Tabs are confusing: 2 | # as space/trimmed/specific/none 3 | as space … trimmed …… specific
… none 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-17.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "first line\n\ 4 | more line" 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-17.data: -------------------------------------------------------------------------------- 1 | first line 2 | 3 | more line 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-18.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | !!str "literal\n", 5 | !!str " folded\n", 6 | !!str "keep\n\n", 7 | !!str " strip", 8 | ] 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-18.data: -------------------------------------------------------------------------------- 1 | - | # Just the style 2 | literal 3 | - >1 # Indentation indicator 4 | folded 5 | - |+ # Chomping indicator 6 | keep 7 | 8 | - >-1 # Both indicators 9 | strip 10 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-19.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | !!str "literal\n", 5 | !!str "folded\n", 6 | ] 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-19.data: -------------------------------------------------------------------------------- 1 | - | 2 | literal 3 | - > 4 | folded 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-20.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | !!str "detected\n", 5 | !!str "\n\n# detected\n", 6 | !!str " explicit\n", 7 | !!str "\t\ndetected\n", 8 | ] 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-20.data: -------------------------------------------------------------------------------- 1 | - | 2 | detected 3 | - > 4 | 5 | 6 | # detected 7 | - |1 8 | explicit 9 | - > 10 | 11 | detected 12 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-20.skip-ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/spec-09-20.skip-ext -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-21.data: -------------------------------------------------------------------------------- 1 | - | 2 | 3 | text 4 | - > 5 | text 6 | text 7 | - |1 8 | text 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-21.error: -------------------------------------------------------------------------------- 1 | ERROR: 2 | - A leading all-space line must 3 | not have too many spaces. 4 | - A following text line must 5 | not be less indented. 6 | - The text is less indented 7 | than the indicated level. 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-22.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "strip" 5 | : !!str "text", 6 | ? !!str "clip" 7 | : !!str "text\n", 8 | ? !!str "keep" 9 | : !!str "text\L", 10 | } 11 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-22.data: -------------------------------------------------------------------------------- 1 | strip: |- 2 | text
clip: | 3 | text…keep: |+ 4 | text
 -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-23.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "strip" 5 | : !!str "# text", 6 | ? !!str "clip" 7 | : !!str "# text\n", 8 | ? !!str "keep" 9 | : !!str "# text\L\n", 10 | } 11 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-23.data: -------------------------------------------------------------------------------- 1 | # Strip 2 | # Comments: 3 | strip: |- 4 | # text
 
 # Clip 5 | # comments: 6 | …clip: | 7 | # text… 
 # Keep 8 | # comments: 9 | …keep: |+ 10 | # text
… # Trail 11 | # comments. 12 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-24.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "strip" 5 | : !!str "", 6 | ? !!str "clip" 7 | : !!str "", 8 | ? !!str "keep" 9 | : !!str "\n", 10 | } 11 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-24.data: -------------------------------------------------------------------------------- 1 | strip: >- 2 | 3 | clip: > 4 | 5 | keep: |+ 6 | 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-25.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "literal\n\ 4 | \ttext\n" 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-25.data: -------------------------------------------------------------------------------- 1 | | # Simple block scalar 2 | literal 3 | text 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-26.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "\n\nliteral\n\ntext\n" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-26.data: -------------------------------------------------------------------------------- 1 | | 2 | 3 | 4 | literal 5 | 6 | text 7 | 8 | # Comment 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-27.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "\n\nliteral\n\ntext\n" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-27.data: -------------------------------------------------------------------------------- 1 | | 2 | 3 | 4 | literal 5 | 6 | text 7 | 8 | # Comment 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-28.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "\n\nliteral\n\ntext\n" 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-28.data: -------------------------------------------------------------------------------- 1 | | 2 | 3 | 4 | literal 5 | 6 | text 7 | 8 | # Comment 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-29.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "folded text\n\ 4 | \tlines\n" 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-29.data: -------------------------------------------------------------------------------- 1 | > # Simple folded scalar 2 | folded 3 | text 4 | lines 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-30.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "folded line\n\ 4 | next line\n\n\ 5 | \ * bullet\n\ 6 | \ * list\n\n\ 7 | last line\n" 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-30.data: -------------------------------------------------------------------------------- 1 | > 2 | folded 3 | line 4 | 5 | next 6 | line 7 | 8 | * bullet 9 | * list 10 | 11 | last 12 | line 13 | 14 | # Comment 15 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-31.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "folded line\n\ 4 | next line\n\n\ 5 | \ * bullet\n\ 6 | \ * list\n\n\ 7 | last line\n" 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-31.data: -------------------------------------------------------------------------------- 1 | > 2 | folded 3 | line 4 | 5 | next 6 | line 7 | 8 | * bullet 9 | * list 10 | 11 | last 12 | line 13 | 14 | # Comment 15 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-32.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "folded line\n\ 4 | next line\n\n\ 5 | \ * bullet\n\ 6 | \ * list\n\n\ 7 | last line\n" 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-32.data: -------------------------------------------------------------------------------- 1 | > 2 | folded 3 | line 4 | 5 | next 6 | line 7 | 8 | * bullet 9 | * list 10 | 11 | last 12 | line 13 | 14 | # Comment 15 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-33.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!str "folded line\n\ 4 | next line\n\n\ 5 | \ * bullet\n\ 6 | \ * list\n\n\ 7 | last line\n" 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-09-33.data: -------------------------------------------------------------------------------- 1 | > 2 | folded 3 | line 4 | 5 | next 6 | line 7 | 8 | * bullet 9 | * list 10 | 11 | last 12 | line 13 | 14 | # Comment 15 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-01.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | !!seq [ 5 | !!str "inner", 6 | !!str "inner", 7 | ], 8 | !!seq [ 9 | !!str "inner", 10 | !!str "last", 11 | ], 12 | ] 13 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-01.data: -------------------------------------------------------------------------------- 1 | - [ inner, inner, ] 2 | - [inner,last] 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-02.data: -------------------------------------------------------------------------------- 1 | [ 2 | "double 3 | quoted", 'single 4 | quoted', 5 | plain 6 | text, [ nested ], 7 | single: pair , 8 | ] 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-03.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "block" 5 | : !!seq [ 6 | !!str "one", 7 | !!map { 8 | ? !!str "two" 9 | : !!str "three" 10 | } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-03.data: -------------------------------------------------------------------------------- 1 | block: # Block 2 | # sequence 3 | - one 4 | - two : three 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-04.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "block" 5 | : !!seq [ 6 | !!str "one", 7 | !!seq [ 8 | !!str "two" 9 | ] 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-04.data: -------------------------------------------------------------------------------- 1 | block: 2 | - one 3 | - 4 | - two 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-05.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!seq [ 4 | !!null "", 5 | !!str "block node\n", 6 | !!seq [ 7 | !!str "one", 8 | !!str "two", 9 | ], 10 | !!map { 11 | ? !!str "one" 12 | : !!str "two", 13 | } 14 | ] 15 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-05.data: -------------------------------------------------------------------------------- 1 | - # Empty 2 | - | 3 | block node 4 | - - one # in-line 5 | - two # sequence 6 | - one: two # in-line 7 | # mapping 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-06.data: -------------------------------------------------------------------------------- 1 | - { inner : entry , also: inner , } 2 | - {inner: entry,last : entry} 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-07.data: -------------------------------------------------------------------------------- 1 | { 2 | ? : value, # Empty key 3 | ? explicit 4 | key: value, 5 | simple key : value, 6 | [ collection, simple, key ]: value 7 | } 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-08.error: -------------------------------------------------------------------------------- 1 | ERROR: 2 | - A simple key is restricted 3 | to only one line. 4 | - A simple key must not be 5 | longer than 1024 characters. 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-09.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "key" 5 | : !!str "value", 6 | ? !!str "empty" 7 | : !!null "", 8 | } 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-09.data: -------------------------------------------------------------------------------- 1 | { 2 | key : value, 3 | empty: # empty value↓ 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-10.data: -------------------------------------------------------------------------------- 1 | { 2 | ? explicit key1 : explicit value, 3 | ? explicit key2 : , # Explicit empty 4 | ? explicit key3, # Empty value 5 | simple key1 : explicit value, 6 | simple key2 : , # Explicit empty 7 | simple key3, # Empty value 8 | } 9 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-11.data: -------------------------------------------------------------------------------- 1 | [ 2 | ? explicit key1 : explicit value, 3 | ? explicit key2 : , # Explicit empty 4 | ? explicit key3, # Implicit empty 5 | simple key1 : explicit value, 6 | simple key2 : , # Explicit empty 7 | ] 8 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-12.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "block" 5 | : !!map { 6 | ? !!str "key" 7 | : !!str "value" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-12.data: -------------------------------------------------------------------------------- 1 | block: # Block 2 | # mapping 3 | key: value 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-13.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "explicit key" 5 | : !!null "", 6 | ? !!str "block key\n" 7 | : !!seq [ 8 | !!str "one", 9 | !!str "two", 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-13.data: -------------------------------------------------------------------------------- 1 | ? explicit key # implicit value 2 | ? | 3 | block key 4 | : - one # explicit in-line 5 | - two # block value 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-14.canonical: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | --- 3 | !!map { 4 | ? !!str "plain key" 5 | : !!null "", 6 | ? !!str "quoted key" 7 | : !!seq [ 8 | !!str "one", 9 | !!str "two", 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-14.data: -------------------------------------------------------------------------------- 1 | plain key: # empty value 2 | "quoted key": 3 | - one # explicit next-line 4 | - two # block value 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/spec-10-15.data: -------------------------------------------------------------------------------- 1 | - sun: yellow 2 | - ? earth: blue 3 | : moon: white 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/str.data: -------------------------------------------------------------------------------- 1 | - abcd 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/str.detect: -------------------------------------------------------------------------------- 1 | tag:yaml.org,2002:str 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/timestamp-bugs.data: -------------------------------------------------------------------------------- 1 | - 2001-12-14 21:59:43.10 -5:30 2 | - 2001-12-14 21:59:43.10 +5:30 3 | - 2001-12-14 21:59:43.00101 4 | - 2001-12-14 21:59:43+1 5 | - 2001-12-14 21:59:43-1:30 6 | - 2005-07-08 17:35:04.517600 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/timestamp.data: -------------------------------------------------------------------------------- 1 | - 2001-12-15T02:59:43.1Z 2 | - 2001-12-14t21:59:43.10-05:00 3 | - 2001-12-14 21:59:43.10 -5 4 | - 2001-12-15 2:59:43.10 5 | - 2002-12-14 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/timestamp.detect: -------------------------------------------------------------------------------- 1 | tag:yaml.org,2002:timestamp 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/unacceptable-key.loader-error: -------------------------------------------------------------------------------- 1 | --- 2 | ? - foo 3 | - bar 4 | : baz 5 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/unclosed-bracket.loader-error: -------------------------------------------------------------------------------- 1 | test: 2 | - [ foo: bar 3 | # comment the rest of the stream to let the scanner detect the problem. 4 | # - baz 5 | #"we could have detected the unclosed bracket on the above line, but this would forbid such syntax as": { 6 | #} 7 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/unclosed-quoted-scalar.loader-error: -------------------------------------------------------------------------------- 1 | 'foo 2 | bar 3 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/undefined-anchor.loader-error: -------------------------------------------------------------------------------- 1 | - foo 2 | - &bar baz 3 | - *bat 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/undefined-constructor.loader-error: -------------------------------------------------------------------------------- 1 | --- !foo bar 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/undefined-tag-handle.loader-error: -------------------------------------------------------------------------------- 1 | --- !foo!bar baz 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/unknown.dumper-error: -------------------------------------------------------------------------------- 1 | yaml.safe_dump(object) 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/unsupported-version.emitter-error: -------------------------------------------------------------------------------- 1 | - !StreamStart 2 | - !DocumentStart { version: [5,6] } 3 | - !Scalar { value: foo } 4 | - !DocumentEnd 5 | - !StreamEnd 6 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/utf16be.code: -------------------------------------------------------------------------------- 1 | "UTF-16-BE" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/utf16be.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/utf16be.data -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/utf16le.code: -------------------------------------------------------------------------------- 1 | "UTF-16-LE" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/utf16le.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpc/pavilion2/41920ae079d88b3cde7b0fccbd6dc30979c94fc9/test/tests/yc_yaml_tests/data/utf16le.data -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/utf8-implicit.code: -------------------------------------------------------------------------------- 1 | "implicit UTF-8" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/utf8-implicit.data: -------------------------------------------------------------------------------- 1 | --- implicit UTF-8 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/utf8.code: -------------------------------------------------------------------------------- 1 | "UTF-8" 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/utf8.data: -------------------------------------------------------------------------------- 1 | --- UTF-8 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/value.data: -------------------------------------------------------------------------------- 1 | - = 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/value.detect: -------------------------------------------------------------------------------- 1 | tag:yaml.org,2002:value 2 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/yaml.data: -------------------------------------------------------------------------------- 1 | - !!yaml '!' 2 | - !!yaml '&' 3 | - !!yaml '*' 4 | -------------------------------------------------------------------------------- /test/tests/yc_yaml_tests/data/yaml.detect: -------------------------------------------------------------------------------- 1 | tag:yaml.org,2002:yaml 2 | -------------------------------------------------------------------------------- /test/utils/README: -------------------------------------------------------------------------------- 1 | This directory is for various test and check scripts that don't belong in unit tests. This includes 2 | component profiling and other such scripts. 3 | -------------------------------------------------------------------------------- /test/utils/check_pav_deps.py: -------------------------------------------------------------------------------- 1 | # Each of the external pavilion dependencies should be imported here. 2 | 3 | import PIL 4 | import requests 5 | import yapsy 6 | import lark 7 | import matplotlib 8 | import hostlist 9 | 10 | --------------------------------------------------------------------------------