From: Uwe Hermann Date: Sun, 26 Apr 2015 15:54:09 +0000 (+0200) Subject: Add a test-case for the 'timing' PD. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=03635510f153d8ea8ed772775223a608bdaa8094;p=sigrok-test.git Add a test-case for the 'timing' PD. --- diff --git a/decoder/test/timing/am2301_1mhz.output b/decoder/test/timing/am2301_1mhz.output new file mode 100644 index 0000000..0bf1b97 --- /dev/null +++ b/decoder/test/timing/am2301_1mhz.output @@ -0,0 +1,268 @@ +0-673573 timing: time: "673.573 ms" +673573-693599 timing: time: "20.026 ms" +693599-693643 timing: time: "44.000 μs" +693643-693702 timing: time: "59.000 μs" +693702-693783 timing: time: "81.000 μs" +693783-693844 timing: time: "61.000 μs" +693844-693870 timing: time: "26.000 μs" +693870-693929 timing: time: "59.000 μs" +693929-693955 timing: time: "26.000 μs" +693955-694014 timing: time: "59.000 μs" +694014-694040 timing: time: "26.000 μs" +694040-694099 timing: time: "59.000 μs" +694099-694125 timing: time: "26.000 μs" +694125-694184 timing: time: "59.000 μs" +694184-694210 timing: time: "26.000 μs" +694210-694269 timing: time: "59.000 μs" +694269-694295 timing: time: "26.000 μs" +694295-694354 timing: time: "59.000 μs" +694354-694429 timing: time: "75.000 μs" +694429-694488 timing: time: "59.000 μs" +694488-694514 timing: time: "26.000 μs" +694514-694577 timing: time: "63.000 μs" +694577-694603 timing: time: "26.000 μs" +694603-694662 timing: time: "59.000 μs" +694662-694689 timing: time: "27.000 μs" +694689-694748 timing: time: "59.000 μs" +694748-694774 timing: time: "26.000 μs" +694774-694833 timing: time: "59.000 μs" +694833-694859 timing: time: "26.000 μs" +694859-694918 timing: time: "59.000 μs" +694918-694993 timing: time: "75.000 μs" +694993-695052 timing: time: "59.000 μs" +695052-695127 timing: time: "75.000 μs" +695127-695186 timing: time: "59.000 μs" +695186-695261 timing: time: "75.000 μs" +695261-695320 timing: time: "59.000 μs" +695320-695346 timing: time: "26.000 μs" +695346-695409 timing: time: "63.000 μs" +695409-695435 timing: time: "26.000 μs" +695435-695494 timing: time: "59.000 μs" +695494-695520 timing: time: "26.000 μs" +695520-695579 timing: time: "59.000 μs" +695579-695605 timing: time: "26.000 μs" +695605-695664 timing: time: "59.000 μs" +695664-695690 timing: time: "26.000 μs" +695690-695749 timing: time: "59.000 μs" +695749-695775 timing: time: "26.000 μs" +695775-695834 timing: time: "59.000 μs" +695834-695860 timing: time: "26.000 μs" +695860-695919 timing: time: "59.000 μs" +695919-695945 timing: time: "26.000 μs" +695945-696004 timing: time: "59.000 μs" +696004-696079 timing: time: "75.000 μs" +696079-696142 timing: time: "63.000 μs" +696142-696168 timing: time: "26.000 μs" +696168-696227 timing: time: "59.000 μs" +696227-696253 timing: time: "26.000 μs" +696253-696312 timing: time: "59.000 μs" +696312-696338 timing: time: "26.000 μs" +696338-696397 timing: time: "59.000 μs" +696397-696423 timing: time: "26.000 μs" +696423-696482 timing: time: "59.000 μs" +696482-696508 timing: time: "26.000 μs" +696508-696567 timing: time: "59.000 μs" +696567-696593 timing: time: "26.000 μs" +696593-696653 timing: time: "60.000 μs" +696653-696679 timing: time: "26.000 μs" +696679-696738 timing: time: "59.000 μs" +696738-696764 timing: time: "26.000 μs" +696764-696827 timing: time: "63.000 μs" +696827-696853 timing: time: "26.000 μs" +696853-696912 timing: time: "59.000 μs" +696912-696938 timing: time: "26.000 μs" +696938-696997 timing: time: "59.000 μs" +696997-697023 timing: time: "26.000 μs" +697023-697082 timing: time: "59.000 μs" +697082-697157 timing: time: "75.000 μs" +697157-697216 timing: time: "59.000 μs" +697216-697242 timing: time: "26.000 μs" +697242-697301 timing: time: "59.000 μs" +697301-697327 timing: time: "26.000 μs" +697327-697386 timing: time: "59.000 μs" +697386-697412 timing: time: "26.000 μs" +697412-697471 timing: time: "59.000 μs" +697471-697546 timing: time: "75.000 μs" +697546-697609 timing: time: "63.000 μs" +697609-697635 timing: time: "26.000 μs" +697635-697694 timing: time: "59.000 μs" +697694-697720 timing: time: "26.000 μs" +697720-697779 timing: time: "59.000 μs" +697779-697805 timing: time: "26.000 μs" +697805-697864 timing: time: "59.000 μs" +697864-697890 timing: time: "26.000 μs" +697890-697949 timing: time: "59.000 μs" +697949-697975 timing: time: "26.000 μs" +697975-698034 timing: time: "59.000 μs" +698034-698060 timing: time: "26.000 μs" +698060-698119 timing: time: "59.000 μs" +698119-698145 timing: time: "26.000 μs" +698145-698204 timing: time: "59.000 μs" +698204-698230 timing: time: "26.000 μs" +698230-698293 timing: time: "63.000 μs" +698293-698319 timing: time: "26.000 μs" +698319-698378 timing: time: "59.000 μs" +698378-698404 timing: time: "26.000 μs" +698404-698463 timing: time: "59.000 μs" +698463-698489 timing: time: "26.000 μs" +698489-698548 timing: time: "59.000 μs" +698548-698575 timing: time: "27.000 μs" +698575-698634 timing: time: "59.000 μs" +698634-698660 timing: time: "26.000 μs" +698660-698719 timing: time: "59.000 μs" +698719-698745 timing: time: "26.000 μs" +698745-698804 timing: time: "59.000 μs" +698804-698830 timing: time: "26.000 μs" +698830-698889 timing: time: "59.000 μs" +698889-698915 timing: time: "26.000 μs" +698915-698978 timing: time: "63.000 μs" +698978-699004 timing: time: "26.000 μs" +699004-699063 timing: time: "59.000 μs" +699063-699089 timing: time: "26.000 μs" +699089-699148 timing: time: "59.000 μs" +699148-699174 timing: time: "26.000 μs" +699174-699233 timing: time: "59.000 μs" +699233-699259 timing: time: "26.000 μs" +699259-699318 timing: time: "59.000 μs" +699318-699344 timing: time: "26.000 μs" +699344-699403 timing: time: "59.000 μs" +699403-699429 timing: time: "26.000 μs" +699429-699488 timing: time: "59.000 μs" +699488-699514 timing: time: "26.000 μs" +699514-699573 timing: time: "59.000 μs" +699573-699599 timing: time: "26.000 μs" +699599-699653 timing: time: "54.000 μs" +699653-2956015 timing: time: "2.256 s" +2956015-2976040 timing: time: "20.025 ms" +2976040-2976084 timing: time: "44.000 μs" +2976084-2976144 timing: time: "60.000 μs" +2976144-2976225 timing: time: "81.000 μs" +2976225-2976286 timing: time: "61.000 μs" +2976286-2976312 timing: time: "26.000 μs" +2976312-2976371 timing: time: "59.000 μs" +2976371-2976397 timing: time: "26.000 μs" +2976397-2976456 timing: time: "59.000 μs" +2976456-2976482 timing: time: "26.000 μs" +2976482-2976541 timing: time: "59.000 μs" +2976541-2976567 timing: time: "26.000 μs" +2976567-2976626 timing: time: "59.000 μs" +2976626-2976652 timing: time: "26.000 μs" +2976652-2976711 timing: time: "59.000 μs" +2976711-2976737 timing: time: "26.000 μs" +2976737-2976796 timing: time: "59.000 μs" +2976796-2976871 timing: time: "75.000 μs" +2976871-2976930 timing: time: "59.000 μs" +2976930-2976956 timing: time: "26.000 μs" +2976956-2977019 timing: time: "63.000 μs" +2977019-2977045 timing: time: "26.000 μs" +2977045-2977104 timing: time: "59.000 μs" +2977104-2977130 timing: time: "26.000 μs" +2977130-2977189 timing: time: "59.000 μs" +2977189-2977215 timing: time: "26.000 μs" +2977215-2977274 timing: time: "59.000 μs" +2977274-2977300 timing: time: "26.000 μs" +2977300-2977359 timing: time: "59.000 μs" +2977359-2977434 timing: time: "75.000 μs" +2977434-2977493 timing: time: "59.000 μs" +2977493-2977568 timing: time: "75.000 μs" +2977568-2977627 timing: time: "59.000 μs" +2977627-2977702 timing: time: "75.000 μs" +2977702-2977762 timing: time: "60.000 μs" +2977762-2977788 timing: time: "26.000 μs" +2977788-2977851 timing: time: "63.000 μs" +2977851-2977877 timing: time: "26.000 μs" +2977877-2977936 timing: time: "59.000 μs" +2977936-2977962 timing: time: "26.000 μs" +2977962-2978021 timing: time: "59.000 μs" +2978021-2978047 timing: time: "26.000 μs" +2978047-2978106 timing: time: "59.000 μs" +2978106-2978132 timing: time: "26.000 μs" +2978132-2978191 timing: time: "59.000 μs" +2978191-2978217 timing: time: "26.000 μs" +2978217-2978276 timing: time: "59.000 μs" +2978276-2978302 timing: time: "26.000 μs" +2978302-2978361 timing: time: "59.000 μs" +2978361-2978387 timing: time: "26.000 μs" +2978387-2978446 timing: time: "59.000 μs" +2978446-2978521 timing: time: "75.000 μs" +2978521-2978584 timing: time: "63.000 μs" +2978584-2978610 timing: time: "26.000 μs" +2978610-2978669 timing: time: "59.000 μs" +2978669-2978695 timing: time: "26.000 μs" +2978695-2978754 timing: time: "59.000 μs" +2978754-2978780 timing: time: "26.000 μs" +2978780-2978839 timing: time: "59.000 μs" +2978839-2978865 timing: time: "26.000 μs" +2978865-2978924 timing: time: "59.000 μs" +2978924-2978950 timing: time: "26.000 μs" +2978950-2979009 timing: time: "59.000 μs" +2979009-2979035 timing: time: "26.000 μs" +2979035-2979094 timing: time: "59.000 μs" +2979094-2979120 timing: time: "26.000 μs" +2979120-2979179 timing: time: "59.000 μs" +2979179-2979205 timing: time: "26.000 μs" +2979205-2979268 timing: time: "63.000 μs" +2979268-2979294 timing: time: "26.000 μs" +2979294-2979353 timing: time: "59.000 μs" +2979353-2979379 timing: time: "26.000 μs" +2979379-2979438 timing: time: "59.000 μs" +2979438-2979464 timing: time: "26.000 μs" +2979464-2979523 timing: time: "59.000 μs" +2979523-2979598 timing: time: "75.000 μs" +2979598-2979657 timing: time: "59.000 μs" +2979657-2979683 timing: time: "26.000 μs" +2979683-2979743 timing: time: "60.000 μs" +2979743-2979769 timing: time: "26.000 μs" +2979769-2979828 timing: time: "59.000 μs" +2979828-2979854 timing: time: "26.000 μs" +2979854-2979913 timing: time: "59.000 μs" +2979913-2979988 timing: time: "75.000 μs" +2979988-2980051 timing: time: "63.000 μs" +2980051-2980077 timing: time: "26.000 μs" +2980077-2980136 timing: time: "59.000 μs" +2980136-2980162 timing: time: "26.000 μs" +2980162-2980221 timing: time: "59.000 μs" +2980221-2980247 timing: time: "26.000 μs" +2980247-2980306 timing: time: "59.000 μs" +2980306-2980332 timing: time: "26.000 μs" +2980332-2980391 timing: time: "59.000 μs" +2980391-2980417 timing: time: "26.000 μs" +2980417-2980476 timing: time: "59.000 μs" +2980476-2980502 timing: time: "26.000 μs" +2980502-2980561 timing: time: "59.000 μs" +2980561-2980587 timing: time: "26.000 μs" +2980587-2980646 timing: time: "59.000 μs" +2980646-2980672 timing: time: "26.000 μs" +2980672-2980735 timing: time: "63.000 μs" +2980735-2980761 timing: time: "26.000 μs" +2980761-2980820 timing: time: "59.000 μs" +2980820-2980846 timing: time: "26.000 μs" +2980846-2980905 timing: time: "59.000 μs" +2980905-2980931 timing: time: "26.000 μs" +2980931-2980990 timing: time: "59.000 μs" +2980990-2981016 timing: time: "26.000 μs" +2981016-2981075 timing: time: "59.000 μs" +2981075-2981101 timing: time: "26.000 μs" +2981101-2981160 timing: time: "59.000 μs" +2981160-2981186 timing: time: "26.000 μs" +2981186-2981245 timing: time: "59.000 μs" +2981245-2981271 timing: time: "26.000 μs" +2981271-2981330 timing: time: "59.000 μs" +2981330-2981356 timing: time: "26.000 μs" +2981356-2981419 timing: time: "63.000 μs" +2981419-2981445 timing: time: "26.000 μs" +2981445-2981504 timing: time: "59.000 μs" +2981504-2981530 timing: time: "26.000 μs" +2981530-2981589 timing: time: "59.000 μs" +2981589-2981615 timing: time: "26.000 μs" +2981615-2981675 timing: time: "60.000 μs" +2981675-2981701 timing: time: "26.000 μs" +2981701-2981760 timing: time: "59.000 μs" +2981760-2981786 timing: time: "26.000 μs" +2981786-2981845 timing: time: "59.000 μs" +2981845-2981871 timing: time: "26.000 μs" +2981871-2981930 timing: time: "59.000 μs" +2981930-2981956 timing: time: "26.000 μs" +2981956-2982015 timing: time: "59.000 μs" +2982015-2982041 timing: time: "26.000 μs" +2982041-2982094 timing: time: "53.000 μs" diff --git a/decoder/test/timing/test.conf b/decoder/test/timing/test.conf new file mode 100644 index 0000000..bf93830 --- /dev/null +++ b/decoder/test/timing/test.conf @@ -0,0 +1,4 @@ +test am2301_1mhz + protocol-decoder timing channel data=5 + input am230x/am2301/am2301_1mhz.sr + output timing annotation match am2301_1mhz.output