Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions dev/build_and_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,5 @@ X=$(ls -1tr dist/*.whl |tail -n 1)
python3 -m pip install --require-virtualenv --force-reinstall --no-deps $X
python3 -m pytest

# Run a demo
test_adctk_builder

# build documentation in doc/generated. Doxygen 1.16.1 or later is highly recommended.
doxygen Doxyfile
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dev = [
adctk-publish = "adctk.scripts.adctk_publish:main"
adctk_hello_world = "adctk.scripts.adctk_hello_world:main"
test_adc_types = "adctk.scripts.test_adc_types:main"
test_adctk_builder = "adctk.scripts.test_adctk_builder:main"
test_adctk_builder = "tests.test_adctk_builder:main"
test_old_builder = "adctk.scripts.test_builder:main"

ldms-blob-file-to-http-post = "adctk.ldms_scripts.ldms_blob_file_to_http_post:main"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
import array
import numpy
import adctk
#import adctk.adc_types
#import adctk.builder
#import adctk.publisher
import adctk.adc_types
import adctk.builder
import adctk.publisher

adc_plugin_file_config = {
"ADC_FILE_PLUGIN_DIRECTORY": "./test.outputs",
Expand All @@ -23,7 +23,7 @@
# fixme: use logger

# config w/file_config and call initialize.
def test_publisher( pub: adctk.Publisher, b: adctk.Builder) -> int :
def xtest_publisher( pub: adctk.Publisher, b: adctk.Builder) -> int :
err = 0
e = 0
err = pub.config(**file_config)
Expand Down Expand Up @@ -407,18 +407,18 @@ def main() -> int:

print("NONE TEST")
p0 = f.get_publisher("none")
print(test_publisher(p0, b))
print(xtest_publisher(p0, b))

print("FILE TEST")
p1 = f.get_publisher("file")
print(test_publisher(p1, b))
print(xtest_publisher(p1, b))

print("STDOUT TEST")
p2 = f.get_publisher("stdout")
print(test_publisher(p2, b))
print(xtest_publisher(p2, b))

# p3 = f.get_publisher("syslog")
# print(test_publisher(p3, b))
# print(xtest_publisher(p3, b))

print("MULTIPUB TEST")

Expand Down
File renamed without changes.
Loading