Commit Graph

831 Commits

Author SHA1 Message Date
Tom Alexander 69ecfd2646
Move all the specific-token tests into subfolders.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
2023-08-20 23:38:47 -04:00
Tom Alexander 8162f03051
Put all trailing whitespace ownership test cases into the automated tests.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
Notes for this investigation moved to cba1d1e988/notes/plain_list_ownership_notes.org .

Mailing list thread on the investigation: https://list.orgmode.org/9372527e-3852-419e-936a-7b4dd38cc847@app.fastmail.com/ .
2023-08-20 16:03:31 -04:00
Tom Alexander d8c3285e3c
Add --init flag to docker run.
rustfmt Build rustfmt has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
I noticed in a separate project that ctrl+c was not being honored under --init was passed, so I'm adding it in here.
2023-08-19 02:51:00 -04:00
Tom Alexander 5db6cd617e
Improve test cases for plain list ownership. 2023-08-19 02:30:31 -04:00
Tom Alexander 4cd3697fb0
Update org-mode version in dockerfile. 2023-08-18 23:20:29 -04:00
Tom Alexander 2cd6f736c2
Fix building without compare feature.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
2023-08-17 00:13:25 -04:00
fluxcdbot 5686256039 CI: autofix rust code.
rust-build Build rust-build has failed Details
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
2023-08-17 04:05:48 +00:00
Tom Alexander 7cf1b2d2b8
Disable the failing plain list whitespace ownership test.
rust-build Build rust-build has failed Details
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
2023-08-17 00:03:05 -04:00
Tom Alexander b848d7be73
Merge branch 'no_files' 2023-08-16 23:57:58 -04:00
Tom Alexander 74f4aa8d33
Remove dependency on files for running compare.
The tests still use files since they get the test name from a file but compare does the same action via stdin so it can operator on any org source.
2023-08-16 23:56:05 -04:00
Tom Alexander 4776898894
Merge branch 'fix_plain_list'
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has failed Details
rust-build Build rust-build has succeeded Details
2023-08-16 21:06:54 -04:00
Tom Alexander 8e95ce6368
Add notes about plain list trailing blank line ownership investigation. 2023-08-16 20:24:00 -04:00
Tom Alexander 6c9c304f37
Re-enable disabled test. 2023-08-16 17:39:10 -04:00
Tom Alexander 7fafbfb6bb
Do not consume whitespace in the final plain list item. 2023-08-16 17:37:19 -04:00
Tom Alexander 56281633f3
Support blank link in plain_list_item_end, move exit matcher to end of loop in plain_list, and maybe consume trailing whitespace in plain_list_item. 2023-08-16 17:09:06 -04:00
Tom Alexander 823c33ef8e
Reduce use of expect in main.rs 2023-08-16 16:37:14 -04:00
Tom Alexander e5e5120a10
Move telemetry handling to the tracing-specific main function.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
This is so main_body can exit with an error at any time without missing the shutdown_telemetry function. This does not catch panics.
2023-08-16 16:05:24 -04:00
Tom Alexander 7df393f31d
Make a new naive implementation of plain_list_item.
Still need to update plain_list_item_end and handle the whitespace ownership issues, but starting from a simplified state will help.
2023-08-16 16:05:24 -04:00
Tom Alexander 72d5f8f35c
Make a new naive implementation of plain_list. 2023-08-16 16:05:24 -04:00
Tom Alexander dae46adc12
Feature-gate tracing import.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
2023-08-14 23:33:38 -04:00
Tom Alexander d0dc737c79
Merge branch 'plain_list_whitespace_ownership_issue'
rust-build Build rust-build has failed Details
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
2023-08-14 23:20:37 -04:00
Tom Alexander 1c9877015d
Disable the test showing my plain list implementation is broken. 2023-08-14 23:20:28 -04:00
Tom Alexander 2938d5809a
Use the rust cache for make dockertest. 2023-08-14 23:17:38 -04:00
Tom Alexander f7ec89858d
Add notes about optimization ideas. 2023-08-14 23:16:23 -04:00
Tom Alexander 67b4dfdce6
Merge branch 'tracing_fixes'
rust-build Build rust-build has failed Details
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
2023-08-14 22:12:05 -04:00
Tom Alexander 63d092c83d
Group the two traces per compare into one trace. 2023-08-14 22:10:58 -04:00
Tom Alexander a7b298eeec
Fix lesser block exit priority.
The paragraph end was matching text inside lesser blocks.
2023-08-14 17:32:10 -04:00
Tom Alexander 1bbfbc3164
Add additional tracing to lesser block. 2023-08-14 17:32:09 -04:00
Tom Alexander 2bcc3f0599
Fix reporting of jaeger traces when diff does not match.
The early exit was causing some traces to not be reported.
2023-08-14 17:32:09 -04:00
Tom Alexander b93a12c32c
Add support for escaped double quotes in sexp. 2023-08-14 16:55:04 -04:00
Tom Alexander df3045e424
Merge branch 'script_improvement'
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
2023-08-14 16:13:30 -04:00
Tom Alexander 72b8fec1be
Add support for tracing in run_docker_compare.bash. 2023-08-14 16:12:31 -04:00
Tom Alexander ab17904b1c
Clean up run_integration_test.bash. 2023-08-14 15:53:17 -04:00
Tom Alexander 306878c95d
Clean up run_docker_integration_test.bash 2023-08-14 15:50:05 -04:00
Tom Alexander 5768c8acda
Add a script to run compare using the docker image. 2023-08-14 15:30:13 -04:00
Tom Alexander e28290ed79
Merge branch 'source_based_tests'
rustfmt Build rustfmt has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
2023-08-14 14:14:26 -04:00
Tom Alexander fbabf60559
Add ignore to test export_snippet_paragraph_break_precedence. 2023-08-14 14:01:00 -04:00
Tom Alexander 92abac37e2
s/precedent/precedence/
I used the wrong word. This is referring to the priority between paragraphs ending vs export snippets ending, not a reference to something occurring in the past.
2023-08-14 13:57:01 -04:00
Tom Alexander 899073e54f
Update to the latest org-mode. 2023-08-14 13:33:05 -04:00
Tom Alexander eb379af78d
Switch export snippet to use exit matchers. 2023-08-14 13:13:32 -04:00
Tom Alexander 422804d846
Add script for running specific tests inside docker.
rust-build Build rust-build has failed Details
rust-test Build rust-test has failed Details
2023-08-14 12:21:15 -04:00
Tom Alexander cc83431d62
Consume trailing whitespace for property drawers.
rust-build Build rust-build has failed Details
rust-test Build rust-test has failed Details
This is a change between the org-mode in emacs 29.1 and the org-mode currently in main.
2023-08-14 11:57:12 -04:00
Tom Alexander 00354ccc20
Add a volume for cargo cache.
This is to be a good citizen by not downloading all the rust dependencies every time I run the tests locally. Unfortunately, it will still compile all the dependencies each time, but that is a local operation.
2023-08-14 10:57:48 -04:00
Tom Alexander b75eed6b1e
Enable tests that were disabled before.
rust-test Build rust-test has started Details
rust-build Build rust-build has succeeded Details
2023-08-13 02:21:02 -04:00
Tom Alexander e33ec4a02c
Add support for reading begin/end bounds in the new standard-properties format. 2023-08-13 02:21:02 -04:00
Tom Alexander f7afcec824
Add support for hash notation in the elisp parser. 2023-08-13 02:21:02 -04:00
Tom Alexander cf0991fdff
Add support for parsing vectors in the elisp parser. 2023-08-13 02:21:02 -04:00
Tom Alexander d1e0ee831c
Switch to installing emacs and org-mode from source in test container.
This is to integrate fixes that have been committed to org-mode but have not made it into emacs, while also getting the latest emacs on alpine.
2023-08-13 02:21:01 -04:00
Tom Alexander 34985c9045
Add makefile target for running the tests inside the docker container.
rust-build Build rust-build has failed Details
rust-test Build rust-test has failed Details
rustfmt Build rustfmt has succeeded Details
2023-08-13 02:20:16 -04:00
Tom Alexander 7da09fea74
Switch to specifying timeouts instead of timeout in tekton pipelinerun. 2023-08-13 02:20:16 -04:00