From 055ee0474afdd9d748b49028c4ac129e4d27100d Mon Sep 17 00:00:00 2001 From: Khairul Azhar Kasmiran Date: Mon, 18 May 2020 21:52:18 +0800 Subject: [PATCH] Add pxe test + convert prc_256.py to pure r2 (#16838) --- .github/workflows/pr.yaml | 1 + test/db/cmd/cmd_pd | 2 +- test/db/cmd/cmd_print | 8 +++-- test/db/cmd/cmd_px | 28 ++++++++++++++++- test/scripts/palette.r2 | 65 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 99 insertions(+), 5 deletions(-) create mode 100644 test/scripts/palette.r2 diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 01e07d39b2..ce0c0944bb 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -10,6 +10,7 @@ jobs: name: ${{ matrix.name }} runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: name: [linux-acr-gcc-tests, linux-acr-clang-build, linux-meson-gcc-build, linux-meson-gcc-newshell-tests, macos-clang-tests] include: diff --git a/test/db/cmd/cmd_pd b/test/db/cmd/cmd_pd index f15281eaaf..dbf758acb7 100644 --- a/test/db/cmd/cmd_pd +++ b/test/db/cmd/cmd_pd @@ -1796,7 +1796,7 @@ RUN NAME=two-operand line highlight; asm.highlight ecHw fix; ec wordhl/linehl FILE=bins/elf/redpill CMDS=<? +0x00000040 🍬 🍭 🍮 🍯 🍰 🍱 🍲 🍳 🍴 🍵 🍶 🍷 🍸 🍹 🍺 🍻 @ABCDEFGHIJKLMNO +0x00000050 🍼 🎀 🎁 🎂 🎃 🎄 🎅 🎈 🎉 🎊 🎋 🎌 🎍 🎎 🎏 🎒 PQRSTUVWXYZ[\]^_ +0x00000060 🎓 🎠 🎡 🎢 🎣 🎤 🎥 🎦 🎧 🎨 🎩 🎪 🎫 🎬 🎭 🎮 `abcdefghijklmno +0x00000070 🎯 🎰 🎱 🎲 🎳 🎴 🎵 🎷 🎸 🎹 🎺 🎻 🎽 🎾 🎿 🏀 pqrstuvwxyz{|}~. +0x00000080 🏁 🏂 🏃 🏄 🏆 🏇 🏈 🏉 🏊 🐀 🐁 🐂 🐃 🐄 🐅 🐆 ................ +0x00000090 🐇 🐈 🐉 🐊 🐋 🐌 🐍 🐎 🐏 🐐 🐑 🐒 🐓 🐔 🐕 🐖 ................ +0x000000a0 🐗 🐘 🐙 🐚 🐛 🐜 🐝 🐞 🐟 🐠 🐡 🐢 🐣 🐤 🐥 🐦 ................ +0x000000b0 🐧 🐨 🐩 🐪 🐫 🐬 🐭 🐮 🐯 🐰 🐱 🐲 🐳 🐴 🐵 🐶 ................ +0x000000c0 🐷 🐸 🐹 🐺 🐻 🐼 🐽 🐾 👀 👂 👃 👄 👅 👆 👇 👈 ................ +0x000000d0 👉 👊 👋 👌 👍 👎 👏 👐 👑 👒 👓 👔 👕 👖 👗 👘 ................ +0x000000e0 👙 👚 👛 👜 👝 👞 👟 👠 👡 👢 👣 👤 👥 👦 👧 👨 ................ +0x000000f0 👩 👪 👮 👯 👺 👻 👼 👽 👾 👿 💀 💁 💂 💃 💄 💅 ................ +EOF +RUN diff --git a/test/scripts/palette.r2 b/test/scripts/palette.r2 new file mode 100644 index 0000000000..9b0925861d --- /dev/null +++ b/test/scripts/palette.r2 @@ -0,0 +1,65 @@ +ec comment rgb:c50f1f +ec usrcmt rgb:cccccc +ec args rgb:c19c00 +ec fname rgb:c50f1f +ec floc rgb:3a96dd +ec fline rgb:3a96dd +ec flag rgb:3a96dd +ec label rgb:3a96dd +ec help rgb:13a10e +ec flow rgb:3a96dd +ec flow2 rgb:0037da +ec prompt rgb:c19c00 +ec offset rgb:13a10e +ec input rgb:cccccc +ec invalid rgb:e74856 . bold +ec other rgb:cccccc +ec b0x00 rgb:13a10e +ec b0x7f rgb:3a96dd +ec b0xff rgb:c50f1f +ec math rgb:c19c00 +ec bin rgb:3a96dd +ec btext rgb:c19c00 +ec push rgb:881798 +ec pop rgb:b4009e . bold +ec crypto rgb:0037da +ec jmp rgb:13a10e +ec cjmp rgb:13a10e +ec call rgb:16c60c . bold +ec nop rgb:0037da +ec ret rgb:c50f1f +ec trap rgb:e74856 . bold +ec ucall rgb:13a10e +ec ujmp rgb:13a10e +ec swi rgb:881798 +ec cmp rgb:3a96dd +ec reg rgb:3a96dd +ec creg rgb:3a96dd +ec num rgb:c19c00 +ec mov rgb:cccccc +ec func_var rgb:cccccc +ec func_var_type rgb:0037da +ec func_var_addr rgb:3a96dd +ec widget_bg rgb:303030 +ec widget_sel rgb:c50f1f +ec ai.read rgb:13a10e +ec ai.write rgb:0037da +ec ai.exec rgb:c50f1f +ec ai.seq rgb:881798 +ec ai.ascii rgb:c19c00 +ec graph.box rgb:000000 +ec graph.box2 rgb:0037da +ec graph.box3 rgb:881798 +ec graph.box4 rgb:767676 +ec graph.true rgb:13a10e +ec graph.false rgb:c50f1f +ec graph.trufae rgb:0037da +ec graph.current rgb:0037da +ec graph.traced rgb:c19c00 +ec gui.cflow rgb:c19c00 +ec gui.dataoffset rgb:c19c00 +ec gui.background rgb:0c0c0c +ec gui.alt_background rgb:cccccc +ec gui.border rgb:0c0c0c +ec wordhl rgb:c50f1f +ec linehl rgb:000080