aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Expand)AuthorFilesLines
2024-05-01libfdt: tests: Update test case for overlay_bad_fixupZheng Guangyuan1-1/+1
2024-04-29tests: Remove two_roots and named_root from LIBTREE_TESTS_L and add all dtb f...Zheng Guangyuan1-3/+4
2024-03-22tests: fix tests broken under MesonBrandon Maier1-7/+7
2024-03-19meson: split run-tests by typeBrandon Maier1-8/+23
2024-03-19meson: fix dependencies of testsBrandon Maier1-2/+9
2024-03-14libfdt: overlay: ensure that existing phandles are not overwrittenUwe Kleine-König3-0/+83
2024-01-25tests: use correct pkg-config when cross compilingAlyssa Ross1-1/+1
2023-11-04treesource: Restore string list output when no type markersRob Herring2-2/+6
2023-10-11libfdt: fdt_path_offset_namelen: Reject empty pathPierre-Clément Tosi1-1/+7
2023-10-11libfdt: fdt_get_alias_namelen: Validate aliasesPierre-Clément Tosi2-1/+17
2023-09-15pylibfdt: Support boolean propertiesSimon Glass2-0/+34
2023-08-04tests: generate dtbs in Meson build directoryBrandon Maier1-2/+3
2023-08-03tests: fix use of deprecated meson methodsBrandon Maier1-2/+2
2023-05-14dtc: Correct invalid dts output with mixed phandles and integersDavid Gibson2-0/+2
2023-05-14tests: Add additional tests for device graph checksJohannes Beisswenger3-0/+61
2023-05-14yaml: Depend on libyaml >= 0.2.3Uwe Kleine-König1-1/+1
2023-05-07tests: Add test cases for bad endpoint node and remote-endpoint prop checksJohannes Beisswenger5-0/+46
2023-03-01tests: fix leaks spotted by ASANMarc-André Lureau10-21/+25
2023-03-01tests: fix -Wwrite-stringsMarc-André Lureau2-3/+3
2023-02-28meson: Fix cell overflow tests when running from mesonDavid Gibson1-2/+2
2023-02-27Use #ifdef NO_VALGRINDMarc-André Lureau1-1/+1
2023-02-27Do not redefine _GNU_SOURCE if already setMarc-André Lureau1-0/+2
2023-02-05pylibfdt: add size_hint parameter for get_pathLuca Weiss1-0/+1
2022-11-21dtc: Warning rather than error on possible truncation of cell valuesDavid Gibson3-0/+19
2022-10-12libfdt: tests: add get_next_tag_invalid_prop_lenTadeusz Struk5-1/+104
2022-07-31Don't generate erroneous fixups from reference to pathDavid Gibson2-0/+7
2022-07-27Allow static building with mesonTero Tervala1-2/+7
2022-07-27Allow static building with makeTero Tervala2-8/+14
2022-07-26Fix test script to run also on dash shellTero Tervala1-2/+2
2022-07-02Add missing relref_merge test to meson test listTero Tervala1-0/+1
2022-04-20pylibfdt: add FdtRo.get_path()Luca Weiss1-0/+13
2022-01-25tests: add test cases for label-relative path referencesAhmad Fatoum7-2/+112
2021-12-29Handle integer overflow in check_property_phandle_args()David Gibson2-0/+21
2021-12-28tests: setprop_inplace: use xstrdup instead of unchecked strdupAhmad Fatoum1-1/+1
2021-12-28pylibfdt: add Property.as_*int*_array()Luca Weiss2-0/+15
2021-12-28pylibfdt: add Property.as_stringlist()Luca Weiss1-0/+8
2021-12-09Support 'r' format for printing raw bytes with fdtgetRafał Miłecki2-1/+6
2021-10-21checks: Add an interrupt-map checkRob Herring4-0/+59
2021-10-11treesource: Maintain phandle label/path on outputRob Herring2-0/+6
2021-09-27asm: Use assembler macros instead of cpp macrosDavid Gibson1-194/+207
2021-09-25asm: Use .asciz and .ascii instead of .stringRob Herring3-51/+49
2021-06-21tests: Fix signedness comparisons warningsAndre Przywara13-16/+35
2021-06-08checks: Drop interrupt_cells_is_cell checkRob Herring1-2/+2
2021-05-04tests: add a positive gpio test caseIlya Lipnitskiy2-0/+14
2021-03-23libfdt: Check that the root-node name is emptySimon Glass5-3/+20
2021-03-23libfdt: Check that there is only one root nodeSimon Glass5-2/+25
2020-12-22tests: Fix overlay_overlay_nosugar test casePaul Barker2-5/+5
2020-12-08meson: increase default timeout for testsMarc-André Lureau1-0/+1
2020-12-08meson: do not assume python is installed, skip testsMarc-André Lureau1-6/+6
2020-10-21build-sys: add meson buildMarc-André Lureau1-0/+130
2020-05-18checks: Add interrupt provider testAndre Przywara2-0/+8
2020-03-04tests: Allow running the testsuite on already installed binary / librariesDavid Gibson2-6/+13
2020-03-04tests: Honour NO_YAML make variableDavid Gibson1-1/+15
2020-03-04tests: Properly clean up .bak file from testsDavid Gibson1-1/+1
2020-03-04tests: Honour $(NO_PYTHON) flag from Makefile in run_tests.shDavid Gibson1-1/+15
2020-03-04tests: No need to explicitly pass $PYTHON from Make to run_tests.shDavid Gibson1-3/+3
2020-03-04tests: Let run_tests.sh run Python tests without Makefile assistanceDavid Gibson1-0/+4
2020-03-04checks: Add 'dma-ranges' checkRob Herring2-0/+13
2019-11-16tests: default to 'cc' if CC not setEd Maste1-1/+1
2019-11-15Add test-case for trailing zeroStefan Mavrodiev1-0/+4
2019-11-15pylibfdt: Adjust for deprecated test methodsSimon Glass1-99/+99
2019-11-15tests: add extension to sed -i for GNU/BSD sed compatibilityEd Maste1-1/+1
2019-10-27pylibfdt: Correct the type for fdt_property_stub()Simon Glass1-2/+3
2019-10-14tests: fix some python warningsMarc-André Lureau1-2/+4
2019-10-14dumptrees: pass outputdir as first argumentMarc-André Lureau2-1/+11
2019-10-14tests: allow out-of-tree test runMarc-André Lureau9-173/+185
2019-07-28libfdt: Allow #size-cells of 0David Gibson2-0/+12
2019-07-04fdtoverlay: Ignore symbols in overlays which don't apply to the target treeDavid Gibson1-1/+3
2019-07-04fdtoverlay: Allow adding labels to __overlay__ nodes in overlaysDavid Gibson3-0/+31
2019-07-04pylibfdt: Add support for fdt_get_alias()Appana Durga Kedareswara rao1-0/+7
2019-06-30tests: Add a failed test case for 'fdtoverlay' with long target pathFabrice Gasnier3-0/+44
2019-06-21tests: Replace license boilerplate with SPDX tagsRob Herring73-1056/+73
2019-05-21Fix typos in various documentation and source filesThomas Huth7-8/+8
2019-05-10libfdt: Add FDT_CREATE_FLAG_NO_NAME_DEDUP flag that trades size for speedNicholas Piggin2-21/+52
2019-05-10libfdt: Ensure fdt_add_property frees allocated name string on failureNicholas Piggin4-1/+100
2019-03-29Link tools and tests against libfdt shared libraryDavid Gibson2-3/+6
2019-03-29tests: Rename tests.sh to testutils.shDavid Gibson9-8/+8
2019-03-29libfdt: Add phandle generation helperThierry Reding5-3/+61
2019-03-29libfdt: Add new maximum phandle lookup functionThierry Reding1-0/+9
2019-03-29libfdt: add fdt_append_addrrange()AKASHI Takahiro7-0/+182
2019-03-25Revert "libfdt: Add phandle generation helper"David Gibson5-62/+3
2019-03-21libfdt: Add phandle generation helperThierry Reding5-3/+62
2019-02-19pylibfdt:tests: Extend the way how to find a Python moduleLumir Balhar1-1/+1
2019-02-19pylibfdt: Change how passing tests are recognizedLumir Balhar1-1/+1
2019-02-19pylibfdt: Test fdt.setprop take bytes on Python 3, add error handlingPetr Viktorin1-5/+7
2019-02-19pylibfdt: Proper handling of bytes/unicode strings and octal literalsLumir Balhar1-10/+10
2018-11-24libfdt: Add a test for fdt_getprop_by_offset()Simon Glass6-1/+94
2018-11-23Refine make tests_clean targetDavid Gibson2-4/+4
2018-11-23tests: Use modern octal literals for PythonDavid Gibson1-2/+2
2018-11-23pylibfdt: Allow switch to Python 3 via environment variable PYTHONLumir Balhar2-4/+4
2018-11-14tests: Don't lose errors from make checkmDavid Gibson1-1/+1
2018-11-14tests: Property count valgrind errors in wrapped testsDavid Gibson1-0/+3
2018-11-07libfdt: return correct value if #size-cells property is not presentJohn Clarke2-2/+2
2018-10-04tests: Wrap check_align() calls with base_run_test()Lubomir Rintel1-2/+2
2018-09-27Fix dts output with a REF_PATH markerRob Herring2-1/+7
2018-09-26Added test cases for target referencesFredrik Markstrom2-0/+34
2018-09-21checks: fix simple-bus compatible matchingRob Herring3-0/+40
2018-09-20Fix missing labels when emitting dts formatGrant Likely1-2/+2
2018-09-17Revert dts output formatting changes of spaces around bracketsRob Herring1-12/+12
2018-09-13Add support for YAML encoded outputGrant Likely2-0/+28
2018-09-13pylibfdt: Add a means to add and delete notesSimon Glass1-0/+31
2018-09-10Make valgrind optionalDavid Gibson2-0/+15
2018-09-10tests: Better testing of dtc -I fs modeDavid Gibson4-5/+182
2018-09-10tests: Allow dtbs_equal_unordered to ignore mem reservesDavid Gibson1-8/+28
2018-09-10dtc: trivial '-I fs -O dts' testGreg Kurz1-0/+5
2018-07-23tests: Correction to vg_prepare_blob()David Gibson1-6/+8
2018-07-20tests: Don't call memcmp() with NULL argumentsDavid Gibson1-2/+2
2018-07-20libfdt: fdt_address_cells() and fdt_size_cells()Sebastian Huber6-0/+84
2018-07-11pylibfdt: Support the sequential-write interfaceSimon Glass1-6/+115
2018-07-09tests: Improve fdt_resize() testsDavid Gibson2-4/+33
2018-06-29Preserve datatype markers when emitting dts formatGrant Likely2-0/+35
2018-06-17tests: Fix incorrect check name 'prop_name_chars'Rob Herring1-1/+1
2018-06-17tests: fix grep for checks error messagesRob Herring1-2/+2
2018-06-14pylibfdt: Support setting the name of a nodeSimon Glass1-0/+15
2018-06-14pylibfdt: Add functions to set and get properties as stringsSimon Glass1-0/+25
2018-06-13pylibfdt: Update the bytearray size with pack()Simon Glass1-0/+1
2018-06-13pylibfdt: Allow reading integer values from propertiesSimon Glass3-0/+24
2018-06-12pylibfdt: Avoid accessing the internal _fdt member in testsSimon Glass1-3/+2
2018-06-12pylibfdt: Add functions to update propertiesSimon Glass1-0/+48
2018-06-09pylibfdt: Support device-tree creation/expansionSimon Glass1-1/+17
2018-06-09pylibfdt: Add support for reading the memory reserve mapSimon Glass1-0/+8
2018-06-09pylibfdt: Add support for the rest of the header functionsSimon Glass1-0/+8
2018-06-08pylibfdt: Add support for fdt_next_node()Simon Glass1-0/+18
2018-06-07libfdt: Add fdt_check_full() functionDavid Gibson5-1/+76
2018-06-07tests: Use valgrind client requests for better checkingDavid Gibson4-1/+59
2018-06-07tests: Better handling of valgrind errors saving blobsDavid Gibson4-34/+13
2018-06-07tests: Remove unused #defineDavid Gibson1-2/+0
2018-06-07libfdt: Add fdt_header_size()David Gibson1-6/+2
2018-06-07Consolidate utilfdt_read_len() variantsDavid Gibson1-1/+1
2018-06-07libfdt: Safer access to memory reservationsDavid Gibson6-1/+87
2018-06-07libfdt: Safer access to strings sectionDavid Gibson7-4/+117
2018-06-07libfdt: Make fdt_check_header() more thoroughDavid Gibson4-1/+132
2018-06-07libfdt: Improve sequential write state checkingDavid Gibson4-1/+143
2018-06-04Make Property a subclass of bytearraySimon Glass1-1/+1
2018-06-04pylibfdt: Add a method to access the device tree directlySimon Glass1-2/+3
2018-05-04tests: Add a test case for the omit-if-no-ref keywordMaxime Ripard2-0/+33
2018-03-09tests: Update valgrind suppressions for sw_tree1David Gibson1-1/+1
2018-03-09tests: Remove valgrind error from tests/get_pathDavid Gibson1-1/+2
2018-03-07checks: add graph binding checksRob Herring2-0/+27
2018-03-07checks: add a check for duplicate unit-addresses of child nodesRob Herring2-0/+15
2018-03-06Correct overlay syntactic sugar for generating target-path fragmentsDavid Gibson2-0/+60
2018-03-06Improve tests for dtc overlay generationDavid Gibson4-81/+146
2018-01-04Makefile.tests: Add LIBDL make(1) variable for portability sakekevans@FreeBSD.org1-1/+4
2018-01-04Attempt to auto-detect stat(1) being used if not given proper invocationkevans@FreeBSD.org1-1/+8
2018-01-03tests: Improve compatibility with other platformskevans@FreeBSD.org1-4/+9
2017-12-15checks: add chosen node checksRob Herring2-0/+13
2017-12-13checks: add string list check for *-names propertiesRob Herring2-1/+2
2017-12-13checks: add string list checkRob Herring2-1/+6
2017-12-13checks: add a string check for 'label' propertyRob Herring2-1/+2
2017-11-11tests: Add some basic tests for the pci_bridge checksDavid Gibson4-0/+61
2017-10-30tests: Check non-matching cases for fdt_node_check_compatible()David Gibson1-0/+19
2017-10-26Remove leading underscores from identifiersDavid Gibson5-15/+13
2017-10-26Fix some errors in commentsDavid Gibson1-4/+5
2017-10-26tests: Correct warning in sw_tree1.cDavid Gibson1-0/+2
2017-10-06tests: Avoid 64-bit arithmetic in assemblerDavid Gibson2-25/+28
2017-09-28tests: Add a test for overlays syntactic sugarPantelis Antoniou1-0/+6
2017-09-22checks: add interrupts property checkRob Herring2-0/+13
2017-09-22checks: add gpio binding properties checkRob Herring2-0/+15
2017-09-22checks: add phandle with arg property checksRob Herring2-0/+12
2017-08-21pylibfdt: Add support for fdt_subnode_offset()Simon Glass1-0/+12
2017-08-21pylibfdt: Add support for fdt_node_offset_by_phandle()Simon Glass1-0/+10
2017-08-21pylibfdt: Add support for fdt_parent_offset()Simon Glass1-0/+13
2017-08-21pylibfdt: Add support for fdt_get_phandle()Simon Glass1-0/+6
2017-08-21tests: Return a failure code when any tests failSimon Glass1-0/+1
2017-08-21pylibfdt: Use local pylibfdt moduleSimon Glass1-2/+2
2017-08-21pylibfdt: Add a test for use of uint32_tSimon Glass1-0/+5
2017-08-09tests: Add stacked overlay tests on fdtoverlayPantelis Antoniou4-0/+47
2017-07-13dtc: change default phandles to ePAPR style instead of bothRob Herring1-1/+1
2017-06-15tests: fdtoverlay unit testPantelis Antoniou3-1/+67
2017-05-17Suppress expected error message in fdtdump testDavid Gibson1-1/+1
2017-04-19Fix get_node_by_path string equality checkTim Montague2-1/+24
2017-04-08pylibfdt: Allow setup.py to operate stand-aloneSimon Glass1-3/+3
2017-04-02Add a libfdt function to write a property placeholderSimon Glass5-0/+10
2017-03-21Build pylibfdt as part of the normal build processSimon Glass1-0/+28
2017-03-21Add tests for pylibfdtSimon Glass1-0/+288
2017-03-21checks: Warn on node name unit-addresses with '0x' or leading 0sRob Herring3-0/+26
2017-03-06tests: Make realloc_fdt() really allocate *fdtNicolas Iooss1-2/+2
2017-03-06Fix assorted sparse warningsDavid Gibson13-27/+27
2017-02-24libfdt: Add fdt_setprop_empty()David Gibson1-1/+1
2017-01-31dtc: Fix NULL pointer use in dtlabel + dtref caseStephen Boyd2-0/+10
2016-12-09dtc: Don't always generate __symbols__ for pluginsDavid Gibson1-8/+2
2016-12-09tests: Don't use -@ on plugin de/recompile testsDavid Gibson1-2/+2
2016-12-09tests: Remove "suppression of fixups" testsDavid Gibson2-28/+0
2016-12-09tests: Clarify dtc overlay testsDavid Gibson2-11/+14
2016-12-09tests: More thorough tests of libfdt overlay application without dtcDavid Gibson4-2/+161
2016-12-09tests: Fix double expansion bugs in test codeDavid Gibson2-4/+6
2016-12-09tests: Split overlay tests into those with do/don't exercise dtc plugin gener...David Gibson1-10/+16
2016-12-09tests: Test auto-alias generation on base tree, not overlayDavid Gibson1-5/+5
2016-12-09tests: Make overlay/plugin tests unconditionalDavid Gibson1-37/+34
2016-12-09tests: Add overlay testsPantelis Antoniou4-0/+64
2016-12-09tests: Add check_path testPantelis Antoniou4-1/+88
2016-10-12tests: overlay: Rename the device tree blobs to be more explicitMaxime Ripard1-7/+7
2016-10-11tests: overlay: Add test suffix to the compiled blobsMaxime Ripard1-8/+8
2016-10-07tests: overlay: Move back the bad fixup testsMaxime Ripard1-7/+7
2016-10-06libfdt: Don't use 'index' as a local variable nameDavid Gibson1-15/+15
2016-10-06tests: Add tests cases for the overlay codeMaxime Ripard17-1/+656
2016-09-22dtc: Fix assorted problems in the testcases for the -a optionDavid Gibson1-17/+14
2016-09-22Implement the -a option to pad dtb alignedTim Wang1-0/+28
2016-08-01libfdt: Add fdt_setprop_inplace_namelen_partialMaxime Ripard2-0/+13
2016-07-28libfdt: Add max phandle retrieval functionMaxime Ripard1-0/+6