ab899861d5
apply clang-format
2022-09-10 03:21:28 -04:00
26e1b7c44d
add UTF-8 substitution and detection
2022-09-04 06:45:11 -04:00
ca6222c12b
implement utils::is_type() convenience function
2022-09-03 23:18:44 -04:00
574818c3e9
add unit test for utils::join_words()
2022-07-05 00:27:28 -04:00
d4ea5ca49e
more clang-tidy fixes after re-running it with added settings
2022-05-14 07:18:05 -04:00
fef6c37ea7
Merge pull request #3240 from akohlmey/ave-yaml-file-colname
...
Add support for custom column names and YAML format output to fix ave/time
2022-05-02 11:45:50 -04:00
ba02d90bf1
add test for new errorurl() utility function
2022-04-26 09:29:57 -04:00
a649fa3a79
detect yaml file output by file name
2022-04-26 06:20:00 -04:00
3ba7b8c24c
add star_subst() utility function that replaces a '*' in a string with a number
2022-03-28 22:47:20 -04:00
9dfb099197
change platform::mkdir() to create entire path like "mkdir -p"
...
update the documentation of the shell command to current state
and specifically explain the difference between built-in and
external commands and correct where built in commands were described
as calling external commands.
2022-03-17 11:34:50 -04:00
374917fb6f
tweak platform tests for CPU time to avoid bogus failures on windows
2022-03-07 21:42:02 -05:00
7ee7d0c570
apply clang-format
2022-01-30 17:18:40 -05:00
d62e25decc
don't specify default working directory for tests explicitly
2022-01-29 11:10:23 -05:00
7978bf671d
use canonical syntax for adding tests
2022-01-28 21:12:13 -05:00
cd8b674f4b
expand path to include LAMMPS shared lib
2022-01-27 17:46:18 -05:00
5c9a4f4be0
implement platform abstraction of unsetenv()
2021-10-22 11:05:32 -04:00
ad81dd3960
recover original new style library target names through ALIAS library definitions
2021-10-22 08:23:49 -04:00
7cc5092547
make portable to MSVC++
2021-10-21 21:01:59 -04:00
93d6e6dec9
update for new way of using googletest
2021-10-12 11:46:37 -04:00
510987dc80
Merge branch 'master' into multi-config-support
...
# Conflicts:
# cmake/Modules/Packages/MSCG.cmake
# examples/plugins/CMakeLists.txt
2021-10-11 17:03:41 -04:00
2c7b67203a
recover unit test compile
2021-10-07 13:44:18 -04:00
c8ff66e07f
correct file extension for Zstd compressed files
2021-10-07 06:49:49 -04:00
059f450f1b
add uppercase string utility function (for symmetry)
2021-10-07 00:00:33 -04:00
a9bccee7b2
add utility to convert a string to lowercase
2021-10-06 17:43:41 -04:00
af070aa351
add support for seeking to the end of a file
2021-10-05 15:44:58 -04:00
37bfe3d0ce
integrate platform sub-namespace into source code and documentation
...
this updates function calls to functions that have been moved from
the utils namepsace or the Info class to platform::
2021-10-02 16:55:11 -04:00
195fe81c60
correct test for loading shared objects and libraries
2021-10-01 23:52:02 -04:00
15b3e875d5
import files for platform namespace from standalone project w/o updating LAMMPS
2021-09-29 16:29:25 -04:00
fe64649e49
Merge branch 'master' into multi-config-support
2021-09-20 20:42:03 -04:00
db76edbade
implement utils::current_date() convenience function to reduce replicated code
2021-09-18 09:05:35 -04:00
84c945f7fb
Use multi-config compatible way to integrate googletest for unit testing
2021-09-11 04:50:04 -04:00
9cdb83a24d
support utils::guesspath() also on Windows
2021-09-08 18:17:14 -04:00
cfa94dfbaf
add support for utils::guesspath() on macos
2021-09-08 15:14:06 -04:00
898f8086db
consolidate binary() member functions of Comm and Balance into utils::binary_search()
2021-09-06 16:58:14 -04:00
6bc8da05b9
reformat unittest tree with clang-format
2021-08-23 17:06:30 -04:00
300fee0437
add some more checks for typical string matches for references to fixes and alike
2021-08-18 12:59:56 -04:00
18cc43a560
extend ArgInfo class to also accept "i2_name" and "d2_name"
2021-08-17 12:04:58 -04:00
7068f3e77b
add a few more test cases for testing utils::split_words()
2021-08-04 12:02:55 -04:00
d211bbc0d6
expand ArgInfo class unit tests
2021-07-29 20:58:02 -04:00
594bf56ee3
silence compiler warnings on macOS
2021-07-23 12:12:40 -04:00
2e6a0112d3
update URLs in some more files
2021-05-24 16:19:37 -04:00
462f27d661
Use copy-and-swap in Tokenizers
...
Ensures that the classes behave consistently when copied, moved, copy assigned,
and move assigned.
2021-04-26 14:28:13 -04:00
66f690004d
correctly test move constructors
2021-04-24 07:14:49 -04:00
cf81f72aad
more tests for tokenizer classes
2021-04-24 01:22:06 -04:00
a858c07e8a
add unit tests for empty id, invalid timespecs, and merge sort
2021-04-04 21:51:48 -04:00
67d4302fc7
add tests for tokenizer skip() function and throwing an exception
2021-04-04 21:51:06 -04:00
3668ce1374
Merge branch 'master' into more-unittests
...
# Conflicts:
# unittest/testing/core.h
2021-04-01 11:11:18 -04:00
b15502ddc8
Add utils::split_lines
2021-03-24 15:53:00 -04:00
487c55edf0
simplify and apply clang-format
2021-03-24 11:24:55 -04:00
42895ac6df
Merge pull request #2654 from akohlmey/collected-small-changes
...
Collected small changes
2021-03-16 19:34:54 -04:00